- 注册时间
- 2013-5-14
- 最后登录
- 2016-3-2
- 阅读权限
- 10
- 积分
- 76
- 精华
- 0
- 帖子
- 18

|
我有一个页面碰到了问题页面上我包含了JS
<script type="text/javascript" src="js/miniui/boot.js"></script>
页面部分脚本如下:
$(function(){
mini.parse();//正常执行
})
function window_open(surl,stitle,comback,dwidth,dheight){
if(dwidth==null)dwidth="100%"
if(dheight==null)dheight="100%"
mini.open({
url:surl,
showMaxButton: false,
title: stitle,
width: dwidth,
height: dheight,
allowDrag:true,
ondestroy: function (action) {
comback(action,this)
}
});
}
在调用mini.open时报了一个错误 :
Uncaught TypeError: Cannot read property 'lastChild' of undefined
不知道是什么原因引起的。
|
|