Kotak centang jQuery Nilai Periksa
if ($('#check_id').is(":checked"))
{
// it is checked
}
Fantastic Fly
if ($('#check_id').is(":checked"))
{
// it is checked
}
//jQuery 1.6+ use:
$('.checkboxClass').prop('checked', true);
//jQuery 1.5.x and below use:
$('.checkboxClass').attr('checked', true);
$( "input" ).prop( "checked", true );