JQuery get checkbox value

$('#checkbox').val() is always = 'on'.
User:  $('#checkbox').is(':checked') to get correct value.

Leave a Reply

Your email address will not be published. Required fields are marked *