A small jQuery plugin that highlights searched text in the selected element.
HTML JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
js
scss
.gitignore
README.md
index.html

README.md

Highlite

About

Highlite is a small jQuery plugin that highlights searched text in the selected element.

Usage

$(function () {
    $("#search").on("search change keyup", function () {
        var text = this.value;
        $("#content").highlite({
            text: text
        });
    });
});

Plugin options

text

Text to be searched and highlighted.