I am using the HTML table. the first column contain the checkbox. How to get the cell values of the checked row using jquery.
Thanks, Nizam
I am using the HTML table. the first column contain the checkbox. How to get the cell values of the checked row using jquery.
Thanks, Nizam
You can do it like this:
$('#myTable input:checked').parent('tr').find('td')
You can then get the contents of the cells using .html()
or .text()
or whatever you want depending on exactly what you need.