views:

22

answers:

0

Hi, I have an applcation that launches a popup using the window.open(url) as given below.

function goRelURL(){ winObj=window.open(url,"w1"); winObj.focus(); }

From the popup I am closing the popup on click of a button. on click a methods is called and from there I set the URL for parent window and close the popup as:

window.opener.location.href='<%=url%>'; window.close();

This works fine with IE6, IE8 and Firefox3.0 with WIN-XP. But it fails in IE8 with Windows-7. with win-7 it set the url of the popup and popup remains open.

Any help is appreciated.