$("#categorys").treeview({
persist: "location",
control: "#treecontrol",
unique: true
});//只展開一層
$("#categorys").treeview({
control: "#treecontrol",
persist: "cookie"
});
});//展開所有層.
<div class="areaBody">
<div id="treecontrol">
[<a href="#">Collapse</a>] [<a href="#">Expand</a>] [<a href="#">Toggle</a>]
</div>
<ul id="categorys">
<li id="root">
</li>
</ul>
</div> });
jquery treeview 使用時候,只展示一層問題
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.