Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button can still be clicked after setEnabled(false) #32

Open
colinmollenhour opened this issue May 31, 2011 · 0 comments
Open

Button can still be clicked after setEnabled(false) #32

colinmollenhour opened this issue May 31, 2011 · 0 comments

Comments

@colinmollenhour
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant