Pop-up window and the parent

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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>
 
Back
Top