select all jquery code example
Example 1: checkbox on click jquery select all
$("#checkAll").click(function(){
$('input:checkbox').not(this).prop('checked', this.checked);
});
Example 2: jquery get all select options
//looping through options select with jQuery
$("#mySelectID option").each(function(){
var thisOptionValue=$(this).val();
});
Example 3: select all checkboxes jquery
$('input:checkbox').prop('checked', true);