jQuery UI Widgets › Forums › Editors › Button, RepeatButton, ToggleButton, LinkButton › Status of current checkbox without bind
This topic contains 1 reply, has 2 voices, and was last updated by Peter Stoev 7 years, 8 months ago.
Been busy for a while now to get the status of a checkbox.
var checkbox = $('#mycheckbox').jqxCheckBox();alert(checkbox['checked']);
Without using bind before submitting a form i want to get the status of the checkbox (true or false).
How do i do this?
The code should be:
var checked = checkbox.jqxCheckBox('checked');
You must be logged in to reply to this topic.