Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
57 lines (35 sloc) 801 Bytes

TITLE

jQuery Plugin: Table Filter - version 0.2

DESCRIPTION

Insert a input form for filtering table rows dinamically.

Usage

Insert to all table:

$("table").addTableFilter();

Insert to "#table1" only:

$("#table1").addTableFilter();

Insert with custom label text and size:

$("table").addTableFilter({
  labelText: "Filtering Words: ",
  size:      48
});

Styling

You can style inserted elements like this:

.formTableFilter {
  text-align: right;
}

.formTableFilter label {
  font-weight: bold;
}

.formTableFilter input {
  border: 1px solod #999999;
  width: 12em;
  color: #ffffff;
  background-color: #333333;
}

LICENSE

MIT: http://hail2u.mit-license.org/2009