Forum Moderators: open
Any clue?
Thank you
<iframe id="frame_iview" src=""> </iframe>
...
try{
var obj = document.getElementById("frame_iview");
if (obj.contentWindow)
{
alert("1"); // if I remove this it won't work
obj.contentWindow.document.body.innerHTML = xmlHttp.responseText;
}
else if (obj.contentDocument){ obj.contentDocument.body.innerHTML = xmlHttp.responseText;
}
}
catch (ex){
}