Javascrit error 'Access Denied'

  •  01-18-2005, 1:59 AM

    Javascrit error 'Access Denied'

    I am trying to integrate the editor into an existing application, however I can't get around an 'Access Denied' javascript error message on line 50 of CuteEditor.htc.aspx.
     
    On the page where the CuteEditor control is placed, i have set the domain to an alternate domain within javascript like so:

        document.domain = "mydomain.com";

    This is required, because the page I'm developing is called within an IFRAME on another web server and the page within the iframe needs to be able to communicate with the parent page.

    The question is, how can i set the document.domain property for the CuteEditor application to work in this environment?  - I have already tried setting the document.domain property within the javascript on CuteEditor.htc.aspx but this causes IE to crash on every browser I've tested with.

    Does anyone else have a solution to this?
     
    /Simon
View Complete Thread