Barbara
Barbara

Reputation: 14836

jQuery live search

I really like the search function on iA and I was wondering how they did it. I found ejohn.org/blog/jquery-livesearch/ by John Resig but I still don't know how to:

  1. add the counter (128/128 - the number encreases and decreases)
  2. highlight the word I'm searching in the text

Upvotes: 1

Views: 358

Answers (1)

orandov
orandov

Reputation: 3286

Take a look at this great auto complete plugin for jquery.

By default it bolds the searching text in the results. I am sure you can change it add a css class to the search text and style it with CSS similar to IA's search.

I am sure you can also get the count of the items returned by examining the data returned.

Upvotes: 1

Related Questions