会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
鹏程博金
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
公告
2013年3月6日
用ztree实现node在两个div之间移动(通过两个按钮响应事件)
摘要: 实现思路:1、ztree中节点是通过一个json的Array作为数据源、,所以直接操作json字符串,然后转为json对象数组。2、然后用新构成的json数组对象重新初始化ztree对象。<link rel="stylesheet" href="demo.css" type="text/css"><link rel="stylesheet" href="zTreeStyle.css" type="text/css"><script type=&q
阅读全文
posted @ 2013-03-06 10:43 TinyPI
阅读(520)
评论(0)
推荐(0)
编辑