I have 2 textbox horizontally. In 1st textbox I have a drop down of lists where I can select multiple list. I have a add button in middle of those two text boxes. If I will click on add button by selecting from that textbox that selected list should appear in second text box. .. how I can do that. Please help me out? ?
1 Answer
From jQuery moving MultiSelect values to another MultiSelect,
$().ready(function() { $('#add').click(function() { return !$('#select1 option:selected').remove().appendTo('#select2'); }); $('#remove').click(function() { return !$('#select2 option:selected').remove().appendTo('#select1'); }); });
2 Comments
madhu
check his link stackoverflow.com/questions/1058517/…