为什么jQuery不能在Opera和Chrome中工作?jQuery动态CSS变化
<script language="JavaScript">
$('link[href="includes/styles.css"]').attr("href", "includes/new_styles.css");
$('link[href="includes/jmesa/jmesa.css"]').attr("href", "includes/jmesa/new_jmesa.css");
</script>
它与其他浏览器?你得到的错误是哪一个? – nowhere 2013-02-15 08:56:51
它在FF和IE中很好用。 未捕获的异常:TypeError:'o.find'不是函数 在http:// localhost:8080 /.../ jquery-1.3中的<匿名函数:find>(E)中的第12行第5629列处引发错误.2.min.js: o.find(E,this [0],F); 在http:// localhost:8080 /.../ jquery-1.3.2.min.js: return o(H)中的(E,H)的第12行,第681列调用。在http:// localhost:8080 /.../ jquery-1.3.2.min.js: 中的<匿名函数:l。$>(E,F)中查找从第12行第128列调用的(E) 返回新的o.fn.init(E,F) –
AkiraYamaokaNC
2013-02-15 09:04:45
@krshekhar再次;不要为此使用代码格式。 'jQuery','Opera'和'Chrome'是产品名称 - 它们不是*代码。他们不需要以*任何*方式突出显示,请。 – 2013-02-15 09:08:00