How to iterate through table, using JQuery, and collect in three different arrays values from that fields ?
I have rows like
<tr>
<td>
<select id="name_x"></select>
</td>
<td>
<select id="op_x"></select>
</td>
<td>
<input type="text" id="val_x"/>
</td>
</tr>
where x is different in every row ( but all starts with name_, op_ and val_ ). How to collect this ?
http://api.jquery.com/attribute-starts-with-selector/