An open API service indexing awesome lists of open source software.

https://github.com/stidges/jquery-searchable

Tiny, fast jQuery plugin to search through elements as you type.
https://github.com/stidges/jquery-searchable

filter javascript jquery search

Last synced: 2 days ago
JSON representation

Tiny, fast jQuery plugin to search through elements as you type.

Awesome Lists containing this project

README

        

jQuery Searchable Plugin
========================

*Latest version: v1.1.0* (View the [changelog](#changelog))

Tiny, fast jQuery plugin to search through elements as you type. This plugin is created and maintained by **Stidges** ( [Twitter](http://twitter.com/stidges) | [Github](http://github.com/stidges) ).

## Features

- **Lightweight**. This plugin is only ~1kB minified and gzipped!
- **Fast**. This plugin is optimized for fast, lagless searching even through large element sets.
- **Multiple search types**. This plugin provides three different search types out-of-the-box! Fuzzy matching, strict (case sensitive) matching and default (case insensitive) matching.
- **Automatic row striping**. When searching through a table, rows get hidden when they don't match. When using a CSS framework like [Bootstrap](http://getbootstrap.com) this would mess up your table striping. This plugin makes allows you to define the CSS to be applied to odd and even rows, and updates them while searching.
- **Custom show/hide**. You can define custom functions for showing and hiding the elements while searching.
- **Search anything**. This plugin isn't restricted to use on tables, any set of elements that has 'rows' with 'columns' inside them can be used.

## Demo

[Click here](http://bootsnipp.com/snippets/93XX) to view a demo of this plugin in action (Hosted on [Bootsnipp](http://bootsnipp.com))

## Getting started

### Basic usage

After downloading this plugin, include it in your HTML file after loading jQuery:

```html

```

**Note**: If you want to support older browsers like