复选框从一个div转移到另一个div [英] check box shifting from one div to another div

查看:122
本文介绍了复选框从一个div转移到另一个div的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题,我有两个div(左和右)。左边包含一些复选框项目,我必须通过选择并单击按钮将该项目从左边div移到右边div。从左到右和从右到左......

i have a problem that, i have two div(left and right). left div containing some check box item, i have to shift that item form left div to right div by selecting and clicking on button. left to right and right to left both...

推荐答案

不太清楚你想看它(以及为什么),但它很简单:

http://api.jquery.com/category/manipulation/dom-removal / [ ^ ],

http://api.jquery.com/category/manipulation/dom-插入内部/ [ ^ ],

http://api.jquery.com/click/ [ ^ ]。



-SA
Not quite clear how you want it to look (and why), but it''s pretty simple:
http://api.jquery.com/category/manipulation/dom-removal/[^],
http://api.jquery.com/category/manipulation/dom-insertion-inside/[^],
http://api.jquery.com/click/[^].

—SA


这篇关于复选框从一个div转移到另一个div的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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