I'm using document.domain in my application so that I can access properties (DOM) of another website using javascript. Using document.domain has broken the RadEditors that I'm using. I'm getting Access Denied errors in IE 6. It works in Firefox. I can guess why this is happening. The RadEditor is using an iframe and the source document's document.domain is not set to the same value. My understanding that IE 6 requires you to explicity set this value in all windows.
var
doc=this._textIframe.contentWindow.document;
That's where one of the errors occurs in the telerik javascript. Basically the iframe isn't accessable from the parent window and the editor just doesn't work at all.
I think this probably a bug in IE 6 as it should inherit the document.domain setting from the parent window, but it doesn't apparently. You have to explicity set it. The src of the iframe is:
javascript:'<html></html>
which isn't a phyiscal page where someone could add:
document.domain = "whatever";
I'm using the latest ajax RadEditor. Any idea how I can solve this? Thanks,
Randy