So I have a dynamically created form.
This is a quick run down of what happens.
Page Loads -> jQuery Ajax load page -> Another Ajax loads form:
I found this method:
When I try to loop through the values of each element, it just gives me 0 everytime even if I put something else into the text box.
What am I ( and that website... ) doing wrong?
This is a quick run down of what happens.
Page Loads -> jQuery Ajax load page -> Another Ajax loads form:
Code:
<form id="listForm" name="listForm"> <input type="text" name="listQty[]" value="0"> <input type="checkbox" name="listCb[]" value="php id #"> <input type="hidden" name="listTitle[]" value="BlahBlah"> (Up to 7 more sets of items currently) </form>
Code:
var arrayElements = document.listForm.elements["listQty[]"];
What am I ( and that website... ) doing wrong?
Comment