Hi, I have a form dynamic output by php like this:

<input name="field[36]" id="field[36]" type="text" size="1" class="textfield" value="2" />
<input name="field[36]" id="field[36]" type="text" size="1" class="textfield" value="2" />
<input name="field[80]" id="field[80]" type="text" size="1" class="textfield" value="1" />
<input name="field[110]" id="field[110]" type="text" size="1" class="textfield" value="1" />
I'm trying to use javascript to loop through the fields. Is there a way to do it? I can do this php easily:

while( list( $key, $value ) = each( $_POST['field'] ) )