Instead of iterating through the below array once, it iterates multiple times, and goes into an endless loop condition when I attempt to "flip" the checked/unchecked value.
function rev()
{
var tab=igtab_getTabById("tabLeft");
var tabItem=[login to view URL][0];
var gr=[login to view URL]("grdSearches");
var grd=igtbl_getGridById([login to view URL]) //above gets ref to grid
var rows=[login to view URL]; //ref to the rows collection of the grid
var rowCount=[login to view URL]; //count is 5
var row;
var cntSearches=0;
for (i=0;i<rowCount;i++)
{
cntSearches+=1
row=[login to view URL](i);
check=[login to view URL]("Sel").getValue();
[login to view URL]("Sel").setValue(false); //takes 15 passes to FLIP 5 values, 5 to flip none (eg all values already false), if only row 1 is checked (eg true), then 6 passes, if row 2 is checked then 7 passes, if row 3, then 8, if row 4 (5th row) then 9.
//[login to view URL]("Sel").setValue(!check); //endless loop at 2nd row (row 1)
}
alert(cntSearches);
}
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
JS, IE 7, VS 2005 CLR2