Lowercase and Uppercase with jQuery
I think you want to lowercase the checked value? Try: var jIsHasKids = $(‘#chkIsHasKids:checked’).val().toLowerCase(); or you want to check it, then get its value as lowercase: var jIsHasKids = $(‘#chkIsHasKids’).attr(“checked”, true).val().toLowerCase();