我被卡住了:(我在我的主 html 上不断收到这个错误,但在演示 html 中工作正常,所以也许其中一个文件正在调用不存在的东西?我尝试单独复制 js 或者只是从他们的文件夹'jqueryui',似乎没有任何工作......有人帮忙吗?
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<link rel="stylesheet" href="jqueryui/themes/base/jquery.ui.tabs.css">
<script type="text/javascript" src="jqueryui/jquery-1.9.1.js"></script>
<script type="text/javascript" src="jqueryui/ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="jqueryui/ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="jqueryui/ui/jquery.ui.tabs.js"></script>
<script>
$(function() {
$( "#tabs" ).tabs();
});
</script>
</head>
<body>
<div id="tabs">
<ul>
<li><a href="#tabs-1">Nunc tincidunt</a></li>
<li><a href="#tabs-2">Proin dolor</a></li>
<li><a href="#tabs-3">Aenean lacinia</a></li>
</ul>
<div id="tabs-1">
<p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p>
</div>
<div id="tabs-2">
<p>Morbi tincidunt</p>
</div>
<div id="tabs-3">
<p>Mauris eleifend est et turpis.</p>
<p>Duis cursus. </p>
</div>
</div>
</body>
</html>