网页版 treeview使用中遇到的问题

<div class="ScrollBar" id="ItemsTree"></div>

 

var cla = $("#ItemsTree_11  img").eq(0).attr("class");
if (cla.indexOf("plus") > 0) {//判断当前节点是否打开
$("#ItemsTree_" + data.Province + " img").eq(0).click();
}
$("#ItemsTree_" + data.City).click();

posted @ 2016-07-11 16:46  小爆脾气  阅读(154)  评论(0编辑  收藏  举报