Closed EricGrange closed 9 years ago
Hi Simon,
Just to check how do i disable the toggle button?
I tried: $("#checklistitem0").children().prop('disabled',true); or $('#checklistitem0').prop("disabled",true);
but failed.
Any advice will be good.
Thanks.
Regards, Justin
One way would be through supporting a "disabled" attribute, which could be set/cleared by the jQuery attr() method as usual.
In toggle.js, the required changes are to add lines like
in the beginning of the mousedown event & clickHandler methods.
Bare-bones styling for the disabled state can then be achieved with following rule