Groups | Blog | Home
all groups > dotnet general > july 2005 >

dotnet general : Pop-up window and the parent


thejackofall
7/28/2005 6:38:56 PM
Hi.

I create a pop-up window. From there, I select an item. As soon as I
select an item, my JavaScript function, below, gets called. In there, I want
the parent window to refresh with a query string. However, the parent window
isn't refreshed, but the pop-up window closes silently.

What am I doing wrong? Is this not possible?

Thanks.
J


<LINK href="../include/css/tabStyle.css" type="text/css" rel="stylesheet">
<script language="javascript">
function OnSelect(CustomerID)
{
window.parent.navigate('DoCust.aspx?CustomerID=' + CustomerID);
window.close();
}
</script>
</HEAD>
--
jarkkotv
7/29/2005 2:35:56 AM
Hi!

See if this example helps you:
http://www.rgagnon.com/jsdetails/js-0066.html

BR, Jarkko :)
AddThis Social Bookmark Button