1

Anyone know how you could duplicate the instant nature of Google Instant? I'm trying to create a similar functionality with hand carved results (basically a huge if statement) on a website.

Some more clarification:

If a user were to type 'phone' in a search bar, contact information would instantly appear below.

more clarification: I don't really want predictive results, just simply returning results based on keyword instantly below the input bar.

John Franklin
  • 99
  • 1
  • 3
  • You may also want to give a look to this question: [How does Google Instant work?](http://stackoverflow.com/questions/3670831/how-does-google-instant-work) – Daniel Vassallo Sep 19 '10 at 03:40
  • Ah yes thank you, that definitely clears things up. I guess I'm not requiring quite the same functionality...it would be easy to assume I was just another crack pot with a money making scheme that would undoubtedly fail. Alas, I am just trying to get an understanding of how the AJAX functions. – John Franklin Sep 19 '10 at 04:31
  • Did you ever get this resolved successfully? Do you still need help with this? – jcolebrand Dec 14 '10 at 03:49

2 Answers2

1

So you want to move the search box on the first keystroke in a box then use ajax to retrieve results? Sounds like the bulk of what you're asking to do...

Business statements -> code

jcolebrand
  • 15,889
  • 12
  • 75
  • 121
  • Nothing to do with business, and no not move the search box...just return the results below. It's not for commercial 'search', just information retrieval. – John Franklin Sep 19 '10 at 04:25
  • then you just want to look at ajax results retrieval... You might start here http://api.jquery.com/category/ajax/ – jcolebrand Sep 19 '10 at 10:54
0

Try this post http://www.rsc-ne-scotland.org.uk/mashe/2010/09/google-custom-instant/ It's a very simple implementation using jquery and Google custom search returning JSON.

beactive
  • 759
  • 1
  • 7
  • 12