Answers for "jquery copy all options from select to another"

0

jquery copy all options from select to another

var $options = $("#myselect > option").clone();

$('#secondSelectId').append($options);
Posted by: Guest on September-06-2021

Code answers related to "jquery copy all options from select to another"

Code answers related to "Javascript"

Browse Popular Code Answers by Language