why i am getting the checkbox value as on in jquery? code example Example: get the value of a checkbox jquery $("input[type='checkbox']").val(); $('#check_id').val();