jquery treeview 使用時候,只展示一層問題

			 	$("#categorys").treeview({
					persist: "location",
					control: "#treecontrol",
					unique: true
				});//只展開一層			 	



$("#categorys").treeview({
					control: "#treecontrol",
					persist: "cookie"
				});
		  	});//展開所有層.



		                <div class="areaBody">
							<div id="treecontrol">
								[<a href="#">Collapse</a>]&nbsp;[<a href="#">Expand</a>]&nbsp;[<a href="#">Toggle</a>]
							</div>
				            <ul id="categorys">
				             	<li id="root">
				             	</li>
				            </ul>
		               	</div> 		  	});
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章