Given a table with a plenty of row like this:
<tr>
<td><input class="szoveg" type=text name=p1 maxlength=2 size=2 value="7"></td>
<td><select class="szoveg" name=p2><option value=1 selected>Live<option value=2>Teszt</select></td>
<td><input class="gomb" type=submit value=Modify></td>
<td><input type=hidden name=s_attr value=s_value></td>
<td><input type=hidden name=m_attr value=m_value></td>
<td><input type=hidden name=id value="AAAR7u"></td>
<td><input class="btn" value=Del></td>
</tr>
I would like to get:
- s_value of the s_attr
- Éles of the p2 select input type
- AAR7u of the id
and so on, I need almost each of the values inside the <td>
tags, I want to give as an argument and invoke a function with it...
How can I achieve getting with jQuery?
Now I can get the row only with this jQuery selector:
$('#table_id tr').eq(1)
But I need also the values.... Every help is appreciated.