This is a migrated thread and some comments may be shown as answers.

Can't disable iframe

0 Answers 64 Views
Window
This is a migrated thread and some comments may be shown as answers.
Neo Wong
Top achievements
Rank 1
Neo Wong asked on 31 May 2012, 03:39 AM
Hello

I want to disable iframe int he js like this


function update_item(tid){


var WINURL = "<%=basePath%>threat/threat!input.action?id="+tid
var edit_window = $("<div/>").kendoWindow({
actions: ["Refresh", "Maximize", "Minimize", "Close"],
animation:false,
height: "300px",
visible: false,
width: "420px",
close: function (e) {
// reset global var 'global1' and destroy window
this.destroy();
},
iframe:false,
content:WINURL
}).data("kendoWindow");
 
edit_window.center();
edit_window.open();

}
 

but , I use chrome I still find the page I load into the windows still appear in a <iframe> and add the <html><head><boday> for me again. How can I solve this problem ? 

 

No answers yet. Maybe you can help?

Tags
Window
Asked by
Neo Wong
Top achievements
Rank 1
Share this question
or