Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying search results during a search

Status
Not open for further replies.

newbieDev

Programmer
Jun 11, 2007
38
US

I am trying to create a page (using ColdFusion) that while trying to search for a particular record based on what is typed in the search box, results are displayed on the same page -

It will be similar to how the MS Outlook Adress book functions - while typing in the type Name or select from list search box, records that match whatever is typed in the box are diplayed in a table below - If I type a, all records begining with a should be displayed, if I add b to the a, all records begining with ab should be displayed, and so on.

Is there a way to accomplish this using Javascript? The users are trying to avoid clicking on a search button and would like the page to function like the MS Outlook Address book.

Thanks in advance!
NewbieDev


 
You can do this using Javascript - the mechanism is referred to as AJAX.

Cheers,
Jeff

[tt]Jeff's Blog [!]@[/!] CodeRambler
[/tt]

Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!

FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top