您包括jQuery的在你的头上,那么你包括cookie的插件,但随后在页面的底部,你有这样的:
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
// You may specify partial version numbers, such as "1" or "1.3", with the same result. Doing so will automatically load the latest version matching that partial revision pattern
// (e.g. 1.3 would load 1.3.2 today and 1 would load 1.4.1).
google.load("jquery", "1");
google.setOnLoadCallback(function() {
// Place init code here instead of $(document).ready()
$(".euro").parseNumber({format:"#,###", locale:"it"});
$(".euro").formatNumber({format:"#,###", locale:"it"});
})
</script>
再次加载jQuery的使用谷歌的装载机。由于您再次加载jQuery,因此直接附加到文档头部的jQuery名称空间(不是原型)的任何内容都会被删除。
因此,归根结底,为什么你在世界上加载jQuery两次?
解决方案:
删除谷歌装载机,并要求它从你家页面的页脚加载jQuery的。
是的,我检查和插件加载在我的主页上,你可以看到自己... http://www.unicaimmobili.com/index_copy – user1433900 2012-08-09 11:37:12