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
5+6 =
Submit