how to initialize all input and select and checkbox to initial value in jquery code example
Example 1: jquery checkbox set checked
//For jQuery 1.6 and above
$('#myCheckBoxID').prop('checked', true);
//For jQuery Before 1.6
$('#myCheckBoxID').attr('checked','checked');
Example 2: set checkbox checked jquery
$("#checkboxid").prop('checked', true); // Checks the box
$("#checkboxid").prop('checked', false); // Unchecks the box