MyEclipse 9.0 mark an error on the following js line:
var selectedRow = selectedRows[j];
which is part of the following code:
for (var j in selectedRows)
var selectedRow = selectedRows[j];
if(selectedRow != null)
{
var val = selectedRow.cells[MIDindex].getAttribute("origValue");
GroupActionCr = GroupActionCr + groupingCriteria[i] +"="+val+"&";
}
Validation error is:
Syntax error on token “var”, delete this token
code run perfect. no problem in MyEclipse 8.5