JQuery ligerUI ligerTree 基本使用方法
首先引入相应的ligerUI的css和js文件
1,html
<ul id="tree"></ul> |
2,初始化
var treeData = [ $("#tree").ligerTree({ //tree.setData(treeData) ; //或者这样设值 |
运行结果:
首先引入相应的ligerUI的css和js文件
1,html
<ul id="tree"></ul> |
2,初始化
var treeData = [ $("#tree").ligerTree({ //tree.setData(treeData) ; //或者这样设值 |
运行结果: