KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to know how to select the first option in all select tags on my page using jquery. tried this: $('select option:nth(0)').attr("selected", "selected"); But didn't work
Tags (comma-separated)
Save Edits
Cancel