Refreshing Main Window from JS Pop Up
I have a page that allows user to rate vehicles. When the user clicks the vote button, a popup appears allowing them to vote on that vehicle. I want to refresh the main window after the vote has been counted so that the page can reflect the change. Does anyone know what the javascript to do that would be?
Thanks,
Mark
Webmaster
http://www.lancerforums.com
Suzanne posted this at 02:35 — 3rd March 2002.
She has: 5,507 posts
Joined: Feb 2000
1. name the window when the main page loads
2. then you can refresh that window from the popup.
You want the actual code? I'd have to look it up, but you'd probably have a function so that when x happened in the popup, you'd reload the window named "whatever".
LancerForums posted this at 17:26 — 3rd March 2002.
They have: 27 posts
Joined: Aug 2001
Thanks!
Mark
Busy posted this at 23:05 — 3rd March 2002.
He has: 6,151 posts
Joined: May 2001
don't forget to include something for the people who turn Javascript off.
since pop ups, pop unders ... more and more people are turning Javascript off these days
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.