JavaScript Delayed Search Like Google Instant

While working on building a search tool for a documentation site I came up with this demo. I wanted to be able to execute the search much like how Google Instant currently waits for a pause in the users typing to execute the search. This is an example of how I am accomplishing that. You can check out the live demo at

http://mikegrace.s3.amazonaws.com/geek-blog/sandbox/delay-search.html

This is what the demo looks like even though the code is the fun part:

Tested on Mac 10.6.6 with Firefox 3.6, Chrome 9.0, Safari 5.0, and Opera 11.01

Published by

MikeGrace

I am a Geek! I hope you enjoyed this recent post.

One thought on “JavaScript Delayed Search Like Google Instant”

  1. Google doesn’t “wait for a pause” it performs all it’s actions using javascript keystroke events and corresponding functions.

    I’ve built a very very similar (thought not yet 100% precise) replica of google’s instant search that was designed so that it can be integrated very easily and customized with a moderate JS ability. If you’re interested, drop me an e-mail and I’d be glad to help you out.

Comments are closed.