I am trying to implement the busybox sample from
// From Mark Wagner
// http://blogs.crsw.com/mark/articles/642.aspx
When I get to this line I get an access denied error. Could someone
give me an idea why this might be?
Here is the entire function
CODE::
BusyBox.prototy pe.GetIFrameDoc ument = function()
{
var doc;
if( this.IFrame.con tentDocument )
// For NS6
doc = this.IFrame.con tentDocument;
else if( this.IFrame.con tentWindow )
// For IE5.5 and IE6
doc = this.IFrame.con tentWindow.docu ment; // ERROR HERE
else if( this.IFrame.doc ument )
// For IE5
doc = this.IFrame.doc ument;
else
// TODO: Confirm this should be the default
doc = this.IFrame.doc ument;
return doc;
}
END CODE::