[thelist] JavaScript error.

Peter-Paul Koch gassinaumasis at hotmail.com
Thu Feb 21 13:12:10 CST 2002


>For some reason, when someone visits the www.domain_name.com and clicks in
>the second iframe it tries to access the main (top) page through
>domain_name.com instead, and this creates an error:
>
>Error Line 30
>Permission Denied.
>
>This line is the one where the function is being called from.
>
>When you mouse over the link, it clearly states that it's going to go to
>domain_name.com, and since this isn't the parent window, it gives an
>error.
>
>Does anyone know why this might happen?

I don't completely understand the problem (need to see a URL for that), but
the general answer is that cross-domain scripting is not allowed, period. If
you try to do anything with JavaScript in a page that comes from another
server, it is not allowed.

Does this answer your question or did you already know this and asked for
some help in changing your code?

ppk

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.




More information about the thelist mailing list