使用layout时,页面代码如下
<body class="easyui-layout">
<div region="north" border="false" style="height:60px;background:#B3DFDA;padding:10px">north region</div>
<div region="west" split="true" title="West" style="width:150px;padding:10px;">
<ul><li><a href='javascript:void(0)' onclick='show("test.html")'>aaaa</a></li></ul>
</div>
<div region="south" border="false" style="height:50px;background:#A9FACD;padding:10px;">south region</div>
<div region="center" id="content">
</div>
</body>
通过点击a标签,更新content的内容,show方法如下:
function show(url) {
$('#content').load(url);
}
问题在于,test.html页面里面会加载combobox、datatables等插件,现在centent 里会显示test.html的内容,但是关于combobox、datatables等插件不能从后台获取内容,显示错误为:
Uncaught TypeError: Cannot read property 'nodeName' of undefined
有没有人遇到过这样的问题啊