点击按钮,用js实现跳转到一个新的弹窗窗口打开一张新报表,JS如下,但是现在只能弹窗,弹窗是空白的,报表没打开,JS怎么改下。//模板路径var url = encodeURI(encodeURI("${servletURL}?viewlet=test/1.cpt"));//窗体var $iframe = $("<iframe id='inp' name='inp' width='100%' height='100%' scrolling='no' frameborder='0'>");//将窗体的src属性设置为模板路径$iframe.attr("src", url);//窗体的属性var o = { title: "对话框", //标题 destroyOnClose:true, // 是否在关闭对话框的时候将对话框从dom中移除 width: 680, //宽度 height: 640, //高度 //closable:true, //是否显示关闭按钮,默认true //confirm:true, //是否添加确认取消按钮,默认false //draggable:true //是否可拖动,默认true};//弹出窗体FR.showDialog(o.title, o.width, o.height, $iframe, o);