Skip to content
Adds some live search to your page http://nakajima.github.com/jquery-livesearch/
Find file
Pull request Compare This branch is 4 commits behind nakajima:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
example
src
LICENSE
README.md

README.md

jQuery Live Search

Simple live search for content on web pages.

Usage

$('input[name="q"]').search('.searchable', function(on) {
  on.reset(function() {
    $('.searchable').show();
  });

  on.empty(function() {
    $('#empty-message').show();
  });

  on.results(function(results) {
    $('.searchable').hide();
    results.show();
  });
});

View the example at http://thunder-app.heroku.com

Something went wrong with that request. Please try again.