var totalpoints=0;
for (counter=1;.... ){
myvalue=parseFl oat(document.fo rms["myform"].elements[counter].value);
totalpoints+=my value
//the fields in elements[] are always numbers
}
In Internet Explorer the field numbers are not added while in Mozilla
everything works ok.
// I tried eval and parseint
Thanks
for (counter=1;.... ){
myvalue=parseFl oat(document.fo rms["myform"].elements[counter].value);
totalpoints+=my value
//the fields in elements[] are always numbers
}
In Internet Explorer the field numbers are not added while in Mozilla
everything works ok.
// I tried eval and parseint
Thanks
Comment