Re: Javascrit error 'Access Denied'

  •  01-18-2005, 4:02 PM

    Re: Javascrit error 'Access Denied'

    I understand that I'm using two different domains.  But both domains share the same base domain name 'mycompany.com'.  Setting the document.domain property allows the parent and child frames to talk - this works okay now.
     
    The problem is that with the introduction of the CuteEditor control onto the child page (within the iframe), I now receive the Permission Denied error message.  If I remove the document.domain property from the page in the parent frame, the error message goes away (but this breaks other functionality of the page).
     
    My question remains:  Is there a way to set the document.domain property for the javascript that is created by the CuteEditor control?
     
    - I believe that the CuteEditor control must create it's own frame or iframe where it writes much of the client side javascript to the browser.  However because the document.domain property isn't set to the same value as my other frames, then it causes the error.
     
    I hope that this is more clear.  Any help would be much appreciated.
     
    /Simon
View Complete Thread