Home : General : Chit Chat :

General: Chit Chat: Javascript that takes textbox content and ONBLUR displays contents on same page: Edit Log

Here is the list of edits for this post
Javascript that takes textbox content and ONBLUR displays contents on same page
Hi All

On a Contact page using a form, I think it would be a nice touch if a javascript could take the contents of the First Name field and immediately post the name on the same page. Then, after the visitor fills in all fields, they would just send their note normally.

For example, if I have a contact form that has fields like:

First Name:
Last Name:
Email:
Issue:

Then, once the visitor filled in the First Name field and clicked outside of that box (ONBLUR), the javascript would snag the contents of the First Name field and display it in a nice Welcome sentence right above the contact form:

Welcome, Fred !

First Name: Fred
Last Name:
Email:
Issue:

Would anyone know of any javascript that could do this? I haven't found one, yet.

Thanks very much. Smile

------------------------------------------

Last edited by:

DogTags: Oct 14, 2002, 10:10 AM

Edit Log: