JQuery get checkbox value

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

 425 total views

Author: Albert

Leave a Reply