scripty2 icon indicating copy to clipboard operation
scripty2 copied to clipboard

Button can still be clicked after setEnabled(false)

Open colinmollenhour opened this issue 14 years ago • 0 comments

On form submit I disable all button on the page with:

$$('.ui-button').each(function(button){ button.retrieve('ui.button').setEnabled(false); });

For buttons that are <a> elements, they have the correct visual style but can still be clicked as if they were enabled.

colinmollenhour avatar May 31 '11 18:05 colinmollenhour