views:

9

answers:

1

When I click on a jquery ui button, it still triggers the click event callback. How do I block that event? Do I have to manually keep track of the state or does jquery ui take care of that for me?

A: 

Try this.

$('#button_id').button("disable");
$('#button_id').button("enable");
jcubic
That's what I'm doing, but I still get the .click() callback triggered.
ablerman