Hi All,
I have a dilemma which I would like some help with!
I have a web page which contains a link to a pop-up window containing a form.
What I want to happen, is that when the form on the pop-up box is submitted, the original page is refreshed and displays data based on the input of the pop-up form.
I have seen this working on other sites, but can't remember any specifically.
It would also be cool if after csubmitting the form on the pop-up window, it closed.
Look forward to a response.
Refreshing a background page and more...
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
rough example (untested) Javascript
similar code should appear on the resultant page (action) of the popup's form.
Moved to Client-side.
Code: Select all
var w = window;
var o = w.opener;
o.location = o.location;
w.close();Moved to Client-side.