how to do a function on checkbox xchecked in jquery code example
Example 1: how to check input is selected or not
$('#' + id).is(":checked")
Example 2: how to check input is selected or not
var $boxes = $('input[name=thename]:checked');
$('#' + id).is(":checked")
var $boxes = $('input[name=thename]:checked');