select all checkbox in html table javascript

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. A checkbox is a square box, which you can tick or check based on your requirement. JavaScript function to select one (single) CheckBox from multiple CheckBoxes Inside the JavaScript window onload event handler, first the HTML Table is referenced and then all the CheckBoxes inside it are referenced. You can use this jQuery script in the HTML form or records list. Users may get a list of choices, and the checkbox records the choices made by the user.