将项目从列表框拖到文本框 [英] Drag an item fro list box to text box

查看:44
本文介绍了将项目从列表框拖到文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用带有MultiLine的列表框和文本框.

现在,我要允许用户将项目从列表框拖到文本框.

我已经搜索过Google并尝试实施,但找不到合适的解决方案.

欢迎使用任何示例代码,链接或说明.

如果您要我提供更多解释或澄清,请发表评论.

在此先谢谢

I m using a list box and a text box with MultiLine.

Now I want to allow user to drag an item from list box to text box.

I have search Google and try to implement but not able to find appropriate solution.

Any kind of sample code, Link, or explication r welcome.

comment if u want more explanation or clarification from me.

Thanks In advance

推荐答案


我想这就是您要寻找的东西:
http://jqueryui.com/demos/draggable/#snap-to [ http://jqueryui.com/demos/sortable/ [
Hi,
I think this is what you are looking for:
http://jqueryui.com/demos/draggable/#snap-to[^]

but i suggest you also look @ this:

http://jqueryui.com/demos/sortable/[^]


choose the type on the right for what best suits your problem.

-Jeremy


这篇关于将项目从列表框拖到文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆