HTML代码
<ul class="touzi_xuan1" id="qixian">
<li>****:
</li>
<li style="width: 18px;"> </li>
<li><a href="javascript:void(0);" onclick="searchPersonZi(this);" class="on">****
</a></li>
<li><a href="javascript:void(0);" onclick="searchPersonZi(this);">****
</a></li>
</ul>
javascript代码
function searchPersonZi(obj) {
jQuery(obj).parent().parent().find("a").removeAttr("class"
);
jQuery(obj).attr("class","on"
);
}
转载于:https://www.cnblogs.com/jiaotankuai417/p/6740160.html
相关资源:样式修改Symbology
转载请注明原文地址: https://win8.8miu.com/read-20883.html