how to check that checkbox is checked or not? 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');