Guys,
I have a JS function na done of the things it does is to add 1 to a hidden form field which is used as a counter. the code is simple:
document.ProdForm.numRows.value += 1
However, numRows is initialised at 2 and when the above line is carried out numRows contains 21. How can I get JS to add the values rather than concatenate them??
Mise Le Meas,
Mighty
I have a JS function na done of the things it does is to add 1 to a hidden form field which is used as a counter. the code is simple:
document.ProdForm.numRows.value += 1
However, numRows is initialised at 2 and when the above line is carried out numRows contains 21. How can I get JS to add the values rather than concatenate them??
Mise Le Meas,
Mighty