By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,148 Members | 765 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,148 IT Pros & Developers. It's quick & easy.

Permission Denied in fireFox..

P: 32
Hello frnds

i have two sites in same domain say site1 and site2

now i load http://site2/default.aspx in Site1 iframe
and i have one javascript function in Site1 tht i need to call from Site2 that is loaded in iframe.

everything works fine in IE and safari but m getting "Permission Denied" error in FireFox

Thanxs in advance...
Jan 30 '08 #1
Share this Question
Share on Google+
3 Replies


acoder
Expert Mod 15k+
P: 16,027
Show the code where the error occurs.
Jan 30 '08 #2

P: 32
Show the code where the error occurs.
my parent function is at different site than current page from where i am calling the function..But both site are in same domain..

<a href="#" id="lnkChiled" onclick="parent.parentfunction()">Call parent function</a>

and the error throws in FireFox only that "permission denied "...
Jan 30 '08 #3

acoder
Expert Mod 15k+
P: 16,027
What do you mean when you say the same domain? Read about the same origin policy. That might help explain things.
Jan 30 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.