Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with window.open

Status
Not open for further replies.

snakeeyes1978

Programmer
Jan 11, 2005
70
AU
Got a really strange error. Javascript line producing the error is:

window.open(' dtesting/screens/view_bugdesc.php?­ code=261','','');

And the error that comes up is 'Access is Denied'. I've checked the file permissions and they all seem to be fine.

Strangely enough, the website detects whether you are logging on locally or remotely and if logging in remotely the line of script changes to:

window.open(' ildtesting/screens/view_bugdesc.ph­ p?code=261','','');

And that runs fine. So the error only occurs when the user is logged on locally. Got me stumped - Any ideas?
 
Hmmm. I read something about IE not allowing window.open commands on pages from a different domain and even though the domain is the same, I thought i'd try the following:

window.open('view_bugdesc.php?­ code=261','','');

but still the same problem exists.
 
Why not just keep it the remote path, should work for both the local and remote user.

Sean. [peace]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top