Prefill Textfield/Textarea

C

Chuck

Hello,

I am looking for a sample script that prefills a textfield, so that
the user can select an option as s/he types characters. For example,
in gmail as you start typing the first so many characters for the
email address, options appear based on those typed in characters.
This saves the user from typing in the entire email address when s/he
can then just select the one s/he wants. Any help would be great.

Thanks,
--Willard
 
T

Thomas 'PointedEars' Lahn

Chuck said:
I am looking for a sample script that prefills a textfield, so that
the user can select an option as s/he types characters. For example,
in gmail as you start typing the first so many characters for the
email address, options appear based on those typed in characters.
This saves the user from typing in the entire email address when s/he
can then just select the one s/he wants. Any help would be great.

RTSL. Read the Source, Luke.


PointedEars
 
G

gimme_this_gimme_that

Check out http://developer.yahoo.com/yui/autocomplete/

I've used this package and recommend it.

It uses AJAX to fetch completion strings from a remote host.

The code is:

1. Well written and takes advantage of modern JavaScript (using
namespaces and listeners)

2. Reusable. Utilities for reading and parsing XML are provided and
are easy to use.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top