This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes I ma Getting Javascript Error Permission denied. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "I ma Getting Javascript Error Permission denied." Watch "I ma Getting Javascript Error Permission denied." New topic
Author

I ma Getting Javascript Error Permission denied.

Sanjay Bahrani
Ranch Hand

Joined: Apr 17, 2001
Posts: 38
Hi Ranchs of JScript,
I am facing a JSError as Permission/Access Denied. Any one came across this type of error help me out...
Thankz...
manav kher
Ranch Hand

Joined: Nov 21, 2000
Posts: 98
permission denied in client side JavaScript?...are u working with some kinda activex control...sometimes that might raise an error.
Sanjay Bahrani
Ranch Hand

Joined: Apr 17, 2001
Posts: 38
Hi Manav,
Noop I am not working with any of the ActiveX Controls, I am just working with Frames in Html page(5 frames) and each frame is calling the servlet. I am trying to move the values from one frame to another with the click of a mouse. I am facing the problem over there.
Sanjay.
Francesco Lardieri
Greenhorn

Joined: Sep 06, 2001
Posts: 2
Hi, apparently you can't read certain properties for another window and possibly another frame.
For instance even trying to read opener.location from a child pop window will trigger the access denied error. Somebody can confirm this, or has a workaround?
In your case, passing data from one frame to the other should be possible if you store them the in the frameset. You can then access them from a frame with parent.variablename
Hope it helps.
fl
Neil M
Greenhorn

Joined: Jul 23, 2001
Posts: 9
I get "permission denied" when trying to manipulate a window which contains another site. Such as opening a window with http://msn.com in it, and then later on trying to grab it's current url.
Francesco Lardieri
Greenhorn

Joined: Sep 06, 2001
Posts: 2
Yes, it's a security feature. See following article: http://groups.yahoo.com/group/tree_menu/message/571
bumpert
Greenhorn

Joined: Jun 12, 2002
Posts: 8
thx that was usefull
 
wood burning stoves
 
subject: I ma Getting Javascript Error Permission denied.
 
Similar Threads
ejb environment
permission denied problem in ajax
jdk 1.3
permission denied error in rt.jar file, jdk 1.,3
generate "permission denied" javascript error