[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

Browser hang up on windows.opener refresh... Why?

Asked by DarthSonic in JavaScript

Tags: window.opener, refresh, javascript

I am opening a popup with window.open(...). In the popup there a several pages shown and on one of the pages I am calling the code shown below.

In the most cases the refresh of the opener works perfectly but there are some users which experience problems with this script. The browser seems to be reloading and shows a clean white page with mouse cursor changing to wait cursor. But nothing more happens. The browser is not responding anymore and has to be shut down.

This happens sometimes in IE 7 and 8 and also some users of FF seem to have this problem.

Personally I never experienced this behaviour and I can not reproduce this.
1:
2:
3:
4:
5:
6:
7:
<script language="javascript" type="text/javascript">
	<!--
	if (window.opener) {
		window.opener.top.location.reload();
	}
	//-->
	</script>
[+][-]05/13/09 02:24 AM, ID: 24372698Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/19/09 01:18 AM, ID: 24419548Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/19/09 01:25 AM, ID: 24419569Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/19/09 01:33 AM, ID: 24419619Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091118-EE-VQP-93 - Hierarchy / EE_QW_3_20080625