DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
select first option in dropdown jquery
myElement.find('option:eq(0)').prop('selected', true);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#select
#option
#dropdown
#jquery
ADD COMMENT
Topic
COMMENT
Name
2+8 =
Submit