This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I ma Getting Javascript Error Permission denied.

 
Sanjay Bahrani
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
permission denied in client side JavaScript?...are u working with some kinda activex control...sometimes that might raise an error.
 
Sanjay Bahrani
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it's a security feature. See following article: http://groups.yahoo.com/group/tree_menu/message/571
 
bumpert
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thx that was usefull
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic