Hello,
on this page :�
https://www.jqwidgets.com/jquery-widgets-demo/demos/jqxbutton/index.htm#demos/jqxbutton/switchbutton.htm
if you “uncheck” the switchbutton [new mail],
the event says :
New Mail: Checked
and when you check the button, the event response is : unchecked…
the event is the exact contrary of what appears on the screen…
It seems that this code is executed when you uncheck the button :
$(‘#jqxSwitchButton’).on(‘checked’, function (event) {
alert(“checked”);
});
and this code is executed when you uncheck the button :
$(‘#jqxSwitchButton’).on(‘checked’, function (event) {
alert(“checked”);
});
I’m quite lost with this logical…
fabriceb