Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Refreshing Windows

Reply
Thread Tools

Refreshing Windows

 
 
David Lee
Guest
Posts: n/a
 
      10-10-2005
I have a website which has one main window. When a user clicks an option on
this window, a pop window appear. Then user can then enter information on
this window and then they can click Ok. On clicking ok this popup window
closes and another one appear.

What I want to do is on closing of the 2nd popup window, I want the main
window to refresh itself.

Can anyone tell me how I can access the main window from the 2nd popup
window.


 
Reply With Quote
 
 
 
 
nikki
Guest
Posts: n/a
 
      10-10-2005

David Lee wrote:
> I have a website which has one main window. When a user clicks an option on
> this window, a pop window appear. Then user can then enter information on
> this window and then they can click Ok. On clicking ok this popup window
> closes and another one appear.
>
> What I want to do is on closing of the 2nd popup window, I want the main
> window to refresh itself.
>
> Can anyone tell me how I can access the main window from the 2nd popup
> window.


What opened the second window?
If the main window did, you can use
opener.location.reload();

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Self-refreshing and non-self-refreshing controls Harlan Messinger ASP .Net 1 08-04-2006 01:13 PM
Self-refreshing and non-self-refreshing controls Harlan Messinger ASP .Net Web Controls 0 08-03-2006 12:29 PM
Windows Zero Config Crashes on Refreshing(64bit Windows XP ) =?Utf-8?B?bmlzaGFudA==?= Wireless Networking 0 02-22-2006 11:10 AM
Opening a Popup windows and refreshing data Jennyfer J Barco ASP .Net 1 07-06-2005 05:21 PM
Closing and refreshing windows Arek ASP .Net 4 10-29-2004 10:40 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57