JQuery get checkbox value

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

196 total views, 1 views today

Author: Albert

Leave a Reply