Checkbox widget and event binding
Hey,
I have a page that I do a livequery on to style all of the checkboxes using the checkbox widget from http://wiki.jqueryui.com/Checkbox. A couple of the checkboxes require the change/click event to be handled. When using this widget neither of those events are being fired off.
I've tried the following:
- $("#chkbox1").live("click", function (){ // I've tried .change, .click, .bind, .live, and .livequery
- alert("event fired");
- });
- $('input[type=checkbox]').checkbox();
If I don't call the .checkbox() then the event runs just fine. The checkbox widget does appear to be interacting with the hidden checkbox(verified with a page submit).