JQuery get checkbox value

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

Advertisements

Leave a Reply