• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

I ma Getting Javascript Error Permission denied.

 
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...
 
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.
 
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
 
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
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thx that was usefull
 
And then the entire population worshiped me like unto a god. Well, me and this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic