DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
jquery select option by text
$("#myDropdown option:contains(Option 2)").attr('selected', 'selected');
Source by www.codespeedy.com #
PREVIOUS
NEXT
Tagged:
#jquery
#select
#option
#text
ADD COMMENT
Topic
COMMENT
Name
5+5 =
Submit