jQuery-删除无法正常工作。 src不适用于google chrome。我应该怎么做才能除去支架
|
<script type=\"text/javascript\">
$(document).ready(function() {
// all jQuery code goes here
$(\"li\").hover(function(){
$(this).prepend(\"<span>(</span>\");
},function(){
$(this).append(\"<span>)</span>\");
});
/*
function (){
$(\"li\").remove();
}
*/
$(\"li.fade\").hover(function(){
$(this).fadeOut(100);
$(this).fadeIn(300);
});
});
</script>
的HTML
<div class=\"class1\">
<ul id=\"1\">
<li class=\"fade\" ><a href=\"server43.hostpoint.ch/~raffael1/web2.roboearth/\">What is RoboEarth?</a></li>
<li class=\"fade\"><a href=\"server43.hostpoint.ch/~raffael1/web2.roboearth/motivation/…; <li class=\"fade\"><a href=\"server43.hostpoint.ch/~raffael1/web2.roboearth/project-scope/… Scope</a></li>
</ul>
</div>
没有找到相关结果
已邀请:
1 个回复
闪脖