Skip to content

jQuery plugin that provides plain text search in a DOM element.

Notifications You must be signed in to change notification settings

qur2/jquery.textSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

jquery.textSearch

A jQuery plugin that provides plain text search in a DOM element.

It's a regular jQuery plugin. To search over a whole document, simply try:

$('body').textSearch('a word');

To remove highlighting (which actually modifies the DOM), try:

$('body').textSearch(false);

It will restore the DOM by reverting modifications. Highlighting can be removed on a subset only.

Options are given as a second parameter:

$('body').textSearch('A wOrD', { caseSensitive: true });

About

jQuery plugin that provides plain text search in a DOM element.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published