I have the following code:
<link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.9.1.js"></script>
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<link rel="stylesheet" type="text/css" href="style.css" />
<div id="tabsWithStyle" class="style-tabs">
<ul>
<li><a href="#facebook">Facebook</a></li>
<li><a href="#twitter">Twitter</a></li>
</ul>
<div id="facebook">
content about Facebook here
</div>
<div id="twitter">
content about Twitter here
</div>
</div>
<script type="text/javascript">
$(document).ready(function () {
$('#tabsWithStyle').tabs();
});
</script>
由于某些原因,我一直收到错误提示:
0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'tabs'
我一直在Google和这里搜索,似乎找不到解决方法。是否有人能帮我?