48
rated 0 times
[
50]
[
2]
/ answers: 1 / hits: 19957
/ 11 Years ago, mon, march 4, 2013, 12:00:00
I have the following table:
<table id=messages border=1>
<tbody>
<tr>
<th>Name</th>
<th>Text</th>
<th>Subject</th>
</tr>
<tr value=1>
//data
</tr>
<tr value=2>
//data
</tr>
</tbody>
</table>
I need some jquery that will return the val attribute of the clicked tr. I already have jquery that will return an array of all teh inclosed td within the tr but i still need the value saved to a variable. Any help?
More From » jquery