I have a created a Datatable , it contains a checkbox and like the normal Email web pages like Yahoo Mail, I want that when a user selects one checkbox all other checkboxes are checked.This is
a classic Javascript problem , but when i checked the HTML generated from the
JSF application. i saw
<input type="checkbox" name="_idJsp15:data1:0:hsbcb340" id="_idJsp15:data1:0:hsbcb340" value="true" />
<input type="checkbox" name="_idJsp15:data1:1:hsbcb340" id="_idJsp15:data1:1:hsbcb340" value="true" />
<input type="checkbox" name="_idJsp15:data1:2:hsbcb340" id="_idJsp15:data1:2:hsbcb340" value="true" />
Please how do i select all the checkboxes