[Javascript] pop ups
Rodney Myers
rmyers at i-way.co.uk
Thu Apr 5 03:53:45 CDT 2001
Andrew,
AFAIK there is no 'onclose' event so if the user Xs the window there is
little to be done.
OTOH if there was a button/link to a function with window.close() to
close the window, then, prior to that line you could try something like:
window.opener.top.location=window.opener.top.location;
... which I personally prefer to using methods such as reload()
Snag with that would be if the location contained a query string
reflecting the previous state of the query, and that query string was
made out of date by the change just made. But not having the detail on
that I'll not comment further.
hth
Rodney
Andrew Gibson wrote:
>
> I have a window which pops up to
> confirm a database insertion.....
>
> When the user closes that window, I
> want the original window to be refreshed
> to reflect the changes,
--
Shop at ssistant Add-ons and Developer Workshops
http://www.aflyingstart.net/addons/
STILL PLACES OPEN on Fri 27 April workshop
Courses in April
Mon 23 : Making a Start in E-Commerce with Shop at ssistant
Tue 24 : Meeting Business Needs with the Shop at ssistant Classic system
Wed 25 : Building Better Shopping Pages with Shop at ssistant Classic
Booking for these Shop at ssistant Classic courses at
http://www.shopassistant.net/training/
Or call 01256 880770
Rodney Myers
Based in Oxford, England
Technical Director, Shop at ssistant eCommerce Solutions
More information about the Javascript
mailing list