日期:2014-05-16 浏览次数:20514 次
<a class="asdf">123213213</a> <a class="">23f4</a> <a class="asdf">zvardea</a> <a class="">233</a> <script type="text/javascript" > var page="asdf"; var uclass=document.getElementsByTagName("a"); for(var n in uclass) { if(uclass[n].className==page) { uclass[n].style.background="#f2d699"; } } </script>