Forum Moderators: open
From Iframe2, to call Iframe3 I am using following code
---------------
var obj = window.frames["Iframe3"];
---------------
Above code is throwing error in IE: Permission Denied.
but working fine in Firefox.
Can anybody help me. Its urgent?
Thanks in advance
Object expected would seem that it can't find the objcet at all. Just a thought, I don't know how case sensitive IE is, try the IFRAME names in lower case. I'll do a test page for this and see if I can get it to work.
Try doing this:
function checkFrame() {if(!frames['Iframe3']) {
alert( "Not ready yet!");
setTimeout( "checkFrame();", 100);
return;
}myIframe = frames['Iframe3'];
}
That should keep trying every 100ms until the frame object actually exists.