J
Jean Jacques
Hi ,
How to check the values of a input fields in a java script when the there
are something like this :
field1
field2
field3
field4
field5
field .. N
the N value is in a hidden input , but when I try to do :
function check ( form ) {
var ok ;
ok = false ;
for (i=1; i <= n ; i++} {
if (ok ) {
ok = eval ( form.field+'i'+.value !=0 )
}
}
return ok ;
}
(this code isn't real , but my problem is ONLY the eval line !!)
thanks for your help !
How to check the values of a input fields in a java script when the there
are something like this :
field1
field2
field3
field4
field5
field .. N
the N value is in a hidden input , but when I try to do :
function check ( form ) {
var ok ;
ok = false ;
for (i=1; i <= n ; i++} {
if (ok ) {
ok = eval ( form.field+'i'+.value !=0 )
}
}
return ok ;
}
(this code isn't real , but my problem is ONLY the eval line !!)
thanks for your help !