I am using the two sided multi select found here http://www.stevefenton.co.uk/cmsfiles/assets/File/twosidedmultiselect.html and need to add the selected options in the right hand multiselect to another select list with JQuery. Has anyone had to do this before and knows a quick way of doing this?
var selectedOptions = $("#myselect")[0].options; will get the options but how to write these to the other select?
var selectedOptions = $("#myselect")[0].options;
var $options = $("#myselect > option").clone(); $('#secondSelectId').append($options);
Live DEMO
1.4m articles
1.4m replys
5 comments
57.0k users