KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
It's fairly straightforward. I want to set focus to the first enabled and not hidden control on the page. For a textbox, I have $("input[type='text']:visible:enabled:first").focus(); But I want to get "all" form input controls: textbox, checkbox, textarea, dropdown, radio in my selector to grab the first enabled and not hidden control. Any suggestions?
Tags (comma-separated)
Save Edits
Cancel