您的位置:首页 > Web前端 > JQuery

jqueryui简单tree的使用(笔记,未完待续……)

2015-12-03 17:15 711 查看
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Examples</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link href="css/Base.css" rel="stylesheet" />
<link href="css/Button.css" rel="stylesheet" />
<link href="css/easyui.css" rel="stylesheet" />
<link href="css/tree.css" rel="stylesheet" />
<link href="css/icon.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.10.1.js"></script>
<script type="text/javascript" src="js/jquery-easyui-1.3.6/jquery.easyui.min.js"></script>
</head>
<body>
<ul id="documentUL"></ul>
<script>
$("#documentUL").tree({
data:[{
"id":1,
"text":"JAVA开发",
"iconCls":"hiddenStyle",
"children":[{
"text":"OA项目开发",
"iconCls":"hiddenStyle",
"children":[{
"text":"常见为题",
"iconCls":"hiddenStyle"
},{
"text":"开发模式",
"iconCls":"hiddenStyle"
}]
}]
}]
});
</script>
</body>
</html>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: