- How to get HTML table row data based on checkbox selection in each row?
- How do I select a row in a checkbox?
How to get HTML table row data based on checkbox selection in each row?
Inside the GetSelected JavaScript function, first the Html Table is referenced and then all the CheckBoxes inside the Html Table are referenced. Then a loop is executed over the CheckBoxes and if the CheckBox is checked, the values of Cells of the Row are extracted and displayed using JavaScript Alert Message Box.
How do I select a row in a checkbox?
By default, multiple selection is performed using the ctrl or shift key. You can also perform multiple selection by using Checkboxes that are bound to the Grid rows or using the checkbox bound to the header.