Hi
Let's say I have this form :
With javascript, how do I loop through cat_order[] elements and increment its value by 1 at each iteration?
document.getElementsByName( 'cat_order' ) doesn't seem to work
Thanks for the help!
Let's say I have this form :
Code:
<input type="hidden" name="cat_ID[]">
<input type="hidden" name="cat_order[]">
<input type="hidden" name="cat_ID[]">
<input type="hidden" name="cat_order[]">
<input type="hidden" name="cat_ID[]">
<input type="hidden" name="cat_order[]">
<input type="hidden" name="cat_ID[]">
<input type="hidden" name="cat_order[]">
With javascript, how do I loop through cat_order[] elements and increment its value by 1 at each iteration?
document.getElementsByName( 'cat_order' ) doesn't seem to work
Thanks for the help!