undegodooft
New Member
I have form elements in multiple rows. What is the best way to name these elements so that i can read all the values in the form and generate a JSON with the values? Since HTML does not support Arrays what is the best alternative?Each row has 2 text elements and 1 Select element. These rows are generated dynamically. Edit: Basically i want an easy way to convert my data into JSON so that i can pass it to a service.Each of my row looks like this\[code\]<tr><td><input type="text"></input></td><td><select><option>Exact</option><option>Regex</option><option>Action</option></select></td><td><input type="text"></input></td></tr><tr><td><input type="text"></input></td><td><select><option>Exact</option><option>Regex</option><option>Action</option></select></td><td><input type="text"></input></td></tr> .....\[/code\]