Html
    Css
    Js
 * {
	margin:0px;
	padding:0px;
	text-decoration:none;
	list-style-type:none;
}
#tree {
	height:500px;
	width:200px;
	border:1px solid red;
	font-size:20px;
}
#tree > ul li {
	margin-left:40px;
}
.bgplus {
	float:left;
	background-image:url("http://www.jq22.com/img/cs/500x300-9.png");
	height:9px;
	width:9px;
	margin-top:8px;
}
.bgminus {
	float:left;
	background-image:url("ihttp://www.jq22.com/img/cs/500x300-8.png");
	height:9px;
	width:9px;
	margin-top:8px;
}
.bgpage {
	float:left;
	background-image:url("ihttp://www.jq22.com/img/cs/500x300-7.png");
	height:9px;
	width:9px;
	margin-top:8px;
}
span {
	border:1px solid red;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.9.1
 立即下载

jQuery判断节点状态

0