get the value of a checkbox jquery

JavaScript
if ($('#check_id').is(":checked"))
{
  // it is checked
}$("input[type='checkbox']").val();
$('#check_id').val();
Source

Also in JavaScript: