"mike" <EMAIL REMOVED> wrote:
> I have a couple of similar pages on my site with a simple text box, and
> if a user fills in the box and then clicks on a link to the other page,
> the text box is cleared. I'd like to preserve the text in that box
> even when the user switches pages. Does anyone know how to do this?
>
> A good example is on the Google homepage. When you type something into
> the box, and then click on the "Images" link, the text is preserved.
> But I can't figure it out from their page source.
They encode the value you put in the box in their URL, check out the
Images link to verify this. When you click on that link, a server side
program decodes the URL, and fills in the box for you, and then returns
this result.
Depends a bit on what you want and how what solution works the best for
you.
Some time ago a provider of online email considered it a good idea to
encode the username and p***word in the URL, which was cool if the person
reading the email clicked on a link in his/her email...
--
John Need help with
SEO? Get started with a
SEO report of your site:
-->
http://johnbokma.com/websitedesign/seo-expert-help.html