Forum Moderators: open

Message Too Old, No Replies

Where to Find ASP based Auto-Complete?

Simulate the IE version, for ASP

         

txbakers

4:10 am on Feb 2, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Where can I find an ASP based routine to allow for an Auto-Complete for text boxes?

Or is there a way to be able to type into list boxes for new entries?

I would think it possible with ASP, but how, how, how?

Maybe an OnKeyUp event would scan the recordset each time and try to find a match, and populate the box with javascript. Sounds very resource intensive.....

Any other ideas?

ralnikov

10:31 am on Feb 2, 2002 (gmt 0)

10+ Year Member



you cannot mix a server-side (ASP) and client-side (JS) scripts.
the only way to simulate autocomplete is to reload page on every key down (hmmm... does all of your visitors has T3 at home? :)

txbakers

12:23 pm on Feb 2, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Actually I figured out a good way to do it. Not 100% the way I want, but it does automatically fill out the rest of the box based on what you start to enter.

Without refreshing the page - all client side.

Write me for the URL.

txbakers

7:45 am on Feb 3, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I got it! I got it! I got it!

Very cool. Auto-complete client side based on server side array.

Yippee!