Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An easy to use highlight plugin for jQuery
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.markdown
jquery.easyMark.js

README.markdown

jquery.easyMark

An easy to use "find & highlight" plugin. You simply pass it a space separated string of words to highlight and a target and it will find all occurrences of the words and highlight them.

Highlighting:

$("#target").easymark('highlight', "highlight these words");

Remove highlight:

$("#target").easymark('removeHighlight');

Styling:

.highlight{
  background-color: yellow;
}
Something went wrong with that request. Please try again.