473,387 Members | 3,821 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

permission denied when tried to close opener window in ie

Hi friends,

I would feel very thankful if someone has answer to this question. I have a window and from that i open up a popup and when i call the popup both the popup and the parent should be closed. So i wrote a methos in the opener window itself which
{
if(popupWindow!=null) popupWindow.close();

self.close();

}


Now i called this method whenever i clicked cancel in the popup window:

window.opener.closeWindows();

this is working fine in most of the browsers, except in xp systems with service pack installed. even there this is working except a "permission denied" script error.

If someone had the same problem and solved it, can you please help me.

Thank you in advance.
Nov 7 '06 #1
3 6929
AricC
1,892 Expert 1GB
This is a MSIE bug that was introduced in August '06, this is a work around.

HTH,
Aric
Nov 7 '06 #2
This is a MSIE bug that was introduced in August '06, this is a work around.

HTH,
Aric
Hi
Thanks, but it does not seem to be my problem( I have just tried the work-around but it's the same ), my problem is that I can't reach my popup-window at all if the main-window has been reloaded ( its like it never has existed ), if the main-window has not been reloaded I have no problems reaching and closing the popup. I seems that the connections between my windows somehow is broken.

Chrisser
Nov 8 '06 #3
Hi
Thanks, but it does not seem to be my problem( I have just tried the work-around but it's the same ), my problem is that I can't reach my popup-window at all if the main-window has been reloaded ( its like it never has existed ), if the main-window has not been reloaded I have no problems reaching and closing the popup. I seems that the connections between my windows somehow is broken.

Chrisser
Error - sorry - wrong thread
Chrisser
Nov 8 '06 #4

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

Similar topics

1
by: David Cohen | last post by:
From the main window, I'm opening a popup window. In that poupup window, the user loads a number of different pages (by submitting forms and clicking on buttons), some of which are in a...
3
by: Colin Graham | last post by:
I am working with a piece of javascript that i have inherited from another developer. It is for a date picker function and it runs fine locally but i get an error when i deploy it on the server and...
1
by: jonhoult | last post by:
Hi folks, I'm trying to access window opener properties for some ad code. Sometimes the launching page is in a different domain, and i need my script to recognize this fact and move on to something...
2
by: ENIZIN | last post by:
I am having an interesting problem where I am simply trying to put in country selection popup window on my site. When the user closes the window the popup should call the...
3
by: johkar | last post by:
My child window has this script. "temp" is simply the value of the select list which I am passing onchange. I get a permission denied error in IE when executing selectOption. function...
21
by: alistair_henderson | last post by:
Morning All, I have some code for a website which uses 'window.open' to simulate modal dialog boxes. I use the window.closed property to decide if the window object exists at various points. ...
4
by: Chrisser | last post by:
Hi I have an Intranet webpage starting with a mainpage from which the user can open a new window using a link that is calling a function: function openWindows(){ var left, top; width =...
1
by: rajpath | last post by:
Hello I am using Javascript method on click of a button which opens up the new window displaying the table of the values. Now when the user clicks on the any cell of the table (which is the...
3
by: hussain123 | last post by:
We have a main window (call it Parent). Clicking on a link in the main window will open up another IE window (Child) using the loadInFrame() method. In the Child window, i load another IE window...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.