我在网站的两页上有此代码,但在一页上该功能不起作用。Firebug 向我展示了“ $(...).tabs 不是函数”。我不明白为什么,谁能告诉我什么是错的?
这是有效的:http: //www.invat-online.net/variante-rezolva
这不起作用: http: //www.invat-online.net/variante-explicate-limba-romana/varianta-01
这是代码:
<div id="tabss">
<ul>
<li><a href="#SubiectI">Subiect I</a></li>
<li><a href="#SubiectII">Subiect II</a></li>
<li><a href="#SubiectIII">Subiect III</a></li>
</ul>
<div id="SubiectI">content here</div>
<div id="SubiectII">content here</div>
<div id="SubiectIII">content here</div>
</div>
$(document).ready(function() {
$("#tabss").tabs();
});