get checkbox j checked query 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');