471,328 Members | 1,915 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,328 software developers and data experts.

Pop-up window and the parent

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>
--
Be Cool!
Jul 29 '05 #1
1 2112
Hi!

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

BR, Jarkko :)

Jul 29 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Roy Smith | last post: by
1 post views Thread by spencer | last post: by
6 posts views Thread by Will | last post: by
2 posts views Thread by John Hoge | last post: by
15 posts views Thread by Stig Brautaset | last post: by
25 posts views Thread by Nicholas Parsons | last post: by
7 posts views Thread by Scott | last post: by
4 posts views Thread by j_depp_99 | last post: by
20 posts views Thread by merrittr | last post: by

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.