$("#naver").accordion("remove",0)IE下报错

提问 未结 1 5898
悬赏:20飞吻
@{
Layout = null;
}

<!DOCTYPE html>

<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Index</title>
<link href="~/jquery-easyui-v1.9.0/themes/default/easyui.css" rel="stylesheet" />
<link href="~/jquery-easyui-v1.9.0/themes/icon.css" rel="stylesheet" />
<script src="~/jquery-easyui-v1.9.0/jquery.min.js"></script>
<script src="~/jquery-easyui-v1.9.0/jquery.easyui.min.js"></script>
<script src="~/jquery-easyui-v1.9.0/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript">
$(function () {
$("#naver").accordion('remove',0);
});
</script>
</head>
<body>
<div id="naver" class="easyui-accordion" data-options="fit:true,border:false">
<div title="第1章">
<ul class="easyui-tree">
<li>1.1</li>
<li>1.2</li>
<li>1.3</li>
</ul>
</div>
<div title="第2章">
<ul class="easyui-tree">
<li>2.1</li>
<li>2.2</li>
<li>2.3</li>
</ul>
</div>
</div>
</body>
</html>
在IE下提示“行: 1793
错误: 无法获取未定义或 null 引用的属性“options””
回帖
回帖须知