Question Locked

Error: "missing ) after argument list"

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

form validation produces error in FireFox at first line at the "<":

For(i=0; i<4; i++) {
var j = (i+1);
var sup1 = supArray[i];
var sup2 = supArray[j];
if((sup1 != "") || (sup2 != "")) {
if(sup1 == sup2) {
alert("You cannot select the same supplier more than once.");
return false;
}
}
}

1 reply

This discussion is closed to new replies.