DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
jquery copy all options from select to another
var $options = $("#myselect > option").clone(); $('#secondSelectId').append($options);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#jquery
#copy
#options
#select
ADD COMMENT
Topic
COMMENT
Name
1+7 =
Submit