DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
set dropdown in jquery
$
(
'select[name^="salesrep"] option[value="Bruce Jones"]'
)
.
attr
(
"selected"
,
"selected"
)
;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#set
#dropdown
#jquery
ADD COMMENT
Topic
COMMENT
Name
4+1 =
Submit