Hello!
I'm having problem with getting the checkbox state of a selected row inside table. I don't know if there is any specific function to determinate which row is selected so I've thought of the following... when the row is selected, style(background color) is applied to the tr element, so I thought that I could looked for the tr element which has that style and extracted checkbox state from it ... but because I lack of knowledge of jQuery I stucked.
An example of that would be ...
<table>
<tr>
<td>Text</td>
<td>Text</td>
<td>Text</td>
<td><input type="checkbox"/></td>
<td>Text</td>
</tr>
<tr style="background-color:LightBlue;">
<td>Text</td>
<td>Text</td>
<td>Text</td>
<td><input type="checkbox" checked /></td>
<td>Text</td>
</tr>
<tr>
<td>Text</td>
<td>Text</td>
<td>Text</td>
<td><input type="checkbox"/></td>
<td>Text</td>
</tr>
</table>
If we assume now that second row is selected, how would I get the state of the checkbox(checked, unchecked)?
Thanks for any help!