How to add from one select list/listbox to another, i’m trying like that butit isn’t working.
$('#Select1').dblclick(function(){
$('<option name="$("#Select1").
val()">$("#Select1").
val()</option>').
appendTo('#Select2');
});
I want on dblclick on one if the items in the listbox = Select1 to be addet to Select2
I’ve worked up and example that does what you’re looking for.
Add to select box on double click