Forum Moderators: open
I want to load some data I have in the MAIN pages into the DAFT page. I though to do this by using something like
<script>document.write(parent.CLIENTname);</script>
but all I get is permission problems:
Error: uncaught exception: Permission denied to get property Window.CLIENTname
I'm guessing that Firefox does not allow me to access info in a page from another site. I thought it would only do that for different domains, and they are the same domain.
I've tried calling a function in another frame and the same thing happens (though it works for pages on the same site).
Any suggestions? (this will eventually need to work in IE too)
thanks
Simon in Sydney (where it is currently grey and rainy, though it was gorgeous yesterday)
by the way what is CLIENTName?
to avoid this permission problem you could try to call function from page of which you want to get name and then pass this name onto the main page
Steve from France where we are expecting some sunshine soon ...
Sorted that out and all is fine.
Blush, blush ...
Simon