K
kaston3
var totalpoints=0;
for (counter=1;....){
myvalue=parseFloat(document.forms["myform"].elements[counter].value);
totalpoints+=myvalue
//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=parseFloat(document.forms["myform"].elements[counter].value);
totalpoints+=myvalue
//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