开发者

Drag and Drop Multiple select boxes

I have two multiple select boxes. I need to use JQuery to drag selected items from one combobox to the next. Is this at all possible?

I need to drag items from this box

     <select id="select1"  multiple=multiple> 
<option  value="1">test1</option> 
<option  value="2">test2</option> 
<option  value="3">test3</option> 开发者_运维知识库</select>

to this box

<select id="select2" multiple=multiple>
<option value="4">test4</option>
</select>

Any pointers help will be appreciated


What I did was use the JUI sortable JQuery plugin and that worked for me as I wanted it to.

http://jqueryui.com/demos/sortable/#empty-lists

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜