ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Instant search results

March 16, 2011 5:55pm

Subscribe [3]
  • #1 / Mar 16, 2011 5:55pm

    tunnel7

    125 posts

    Hello.  We have a client that would like to have instant search results (a la Google search where the terms populate the list as you type).  I’m thinking this is not trivial to pull off but wanted to check to see if others had thoughts.

  • #2 / Mar 16, 2011 8:15pm

    ggoforth

    119 posts

    Well, seems like you would have to attach a handler to the text input to fire off an ajax call to a specific EE template with every keystroke, and just use the return to populate your results area.

    EDIT: just found this wiki article, I think it talks about exactly what you want to do.

    http://expressionengine.com/wiki/Ajax_search/

  • #3 / Mar 17, 2011 2:24pm

    Sue Crocker

    26054 posts

    Thanks for the assist, Greg.

    tunnel7, does the link Greg posted help?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases