473,468 Members | 1,869 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

permission denied when tried to close opener window in ie

1 New Member
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 6933
AricC
1,892 Recognized Expert Top Contributor
This is a MSIE bug that was introduced in August '06, this is a work around.

HTH,
Aric
Nov 7 '06 #2
Chrisser
5 New Member
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
Chrisser
5 New Member
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.