I want to simplify this code. I want to set everything inside a form of 100 input boxes to zero without making 100 lines of code. What would be the best approach.
I have tried this...
for (a=0; a<=100; a=a+1){ qtr1("pr"[a].value=0}
I have also tried this....
for (a=0; a<=100; a=a+1){ qtr1("pr"+a).value=0}
Bookmarks