Something I would like to do is to add several events handlers to an
element and control the firing by enabling & disabling it. For
example:

jQuery(".sample").click(function() { // do something }).disable();

Clicking should not fire the event until jQuery(".sample").enable()
has been called.

Have anyone done something similar?

Reply via email to