This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* textFilter - a simple module for a text input filter. | |
* Author -- Daniel Bruckner 2011 | |
* | |
* To use: | |
* 1. Include this file on your page, probably at the bottom. | |
* 2. Add the class "textFilter-input" to any text input tag you would like to | |
* act as a filter. | |
* 3. Add the class "textFilter-target" to any DOM element to be hidden if it | |
* does not match the filter text. | |
* 4. Add the class "textFilter-match" to the DOM element (contained by a |