Re: Need Help Closing a Window
by "Darrell King" <darrell(at)webctr.com>
|
| Date: |
Sat, 28 Feb 2004 16:01:43 -0500 |
| To: |
<hwg-basics(at)mail.hwg.org> |
| References: |
sannicron |
| |
todo: View
Thread,
Original
|
|
windowName.close();
The window object's name is something you should from somewhere in your
code. This instruction could go inside an onclick event or a function -
it's hard to tell because there's really not enough information here.
D
----- Original Message -----
From: "Sandy Fields" <sandy(at)sannicron.com>
To: <hwg-basics(at)mail.hwg.org>
Sent: Saturday, February 28, 2004 3:44 PM
Subject: Need Help Closing a Window
This is driving me crazy.
I have a popup window (part of a shopping cart) in which there is a picture
of the item, an "Add to Cart" button, and a "Close Window" link.
When the user clicks the "Add to Cart" button, I want it to put the item in
their shopping cart and also close the popup window.
I found the instructions for this earlier today, but I lost them. I've
been searching for 2 hours and can't find it. It's a very simple thing...
I think it was a short javascript... but I can't find it.
Can someone help?
Thanks in advance!!
-- Sandy
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.