Simulating "Auto Complete" with Javascript

Discussion in 'Javascript' started by Vern, May 12, 2004.

  1. Vern

    Vern Guest

    Hi All,
    I'm looking for a script which monitors each keystroke in an input text
    field and compares it to the contents of an array of strings and displays
    the first matching element as the user types.

    In other words, something which works very much like the Windows
    "Autocomplete" feature.

    Has someone invented this wheel? Thanks.

    Vern
     
    Vern, May 12, 2004
    #1
    1. Advertising

  2. Vern

    Tobor8thMan Guest

    Thanks, Mscir! Just what I was looking for.

    Vern

    "mscir" <> wrote in message
    news:...
    > Vern wrote:
    > > Hi All,
    > > I'm looking for a script which monitors each keystroke in an input text
    > > field and compares it to the contents of an array of strings and

    displays
    > > the first matching element as the user types.
    > >
    > > In other words, something which works very much like the Windows
    > > "Autocomplete" feature.
    > >
    > > Has someone invented this wheel? Thanks.
    > > Vern

    >
    > Matt Kruse has a nice example (among many others) here:
    >
    > http://www.mattkruse.com/javascript/autocomplete/index.html
    >
    >
     
    Tobor8thMan, May 13, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. george d lake
    Replies:
    0
    Views:
    933
    george d lake
    Oct 30, 2003
  2. redguardtoo
    Replies:
    0
    Views:
    332
    redguardtoo
    Jul 26, 2004
  3. Marina
    Replies:
    1
    Views:
    477
    Marina
    Jul 27, 2004
  4. Kyril Magnos

    Re: easy one.... turn auto-complete off

    Kyril Magnos, Jul 27, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    1,652
    Kyril Magnos
    Jul 27, 2004
  5. Wanda

    Auto complete in aspnet

    Wanda, Nov 5, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    311
    Scott Allen
    Nov 5, 2004
Loading...

Share This Page