Re: JavaScript problem
by "Mike Taylor" <lonewolf(at)one.net>
|
| Date: |
Tue, 19 Sep 2000 18:58:42 -0400 |
| To: |
"John \(Terry\) Jones" <jtjones(at)davis.com>, <hwg-techniques(at)mail.hwg.org> |
| References: |
mother |
| |
todo: View
Thread,
Original
|
|
John:
I'm a little unclear as to what exactly you're wanting to accomplish, but
suffice to say there are a few approaches that I'm familiar with that you
can do to achieve the end of passing data from page to page to be used
later:
1. store the information in a cookie. Retrieve this cookie at the time you
need the information.
2. pass the data from page to page in a session variable (this would
require some form of server-side capabilities, such as ASP, JSP, PHP, etc.).
Then grab the variable at whatever point on the page you need it.
3. pass the data from page to page in the form of a querystring such as:
http://www.john.com/blah.asp?thiscode=blah&thatcode=blah
then set a variable on the page where you want to use that code so that it
is equal to the request value.
----- Original Message -----
From: "John (Terry) Jones" <jtjones(at)davis.com>
To: <hwg-techniques(at)mail.hwg.org>
Sent: Tuesday, September 19, 2000 1:41 PM
Subject: JavaScript problem
>
>
> Hi all, I'm working on a project where I'd like the user to click on a
> link that saves the choice for later to be displayed on a page that will
> be mailed. I don't want the link to do anything but save the choice. I'm
> adding this to an already done website, so I can't redo forms and such.
> I'm not a full-fledged store but a way to save various choices from many
> different pages. I suspect this has been discussed many times.
>
> TIA, John
>
>
HWG hwg-techniques 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.