Search
 
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
Name
1+7 =