The Jquery code highlighter for textarea is used to highlight the portion of text into a textarea. The text may be a group of words or single word. The sample jquery code to highlight textarea is given below.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<link rel="stylesheet" href="http://mistic100.github.io/jquery-highlighttextarea/dist/jquery-highlighttextarea/jquery.highlighttextarea.min.css">
<script src="http://mistic100.github.io/jquery-highlighttextarea/dist/jquery-highlighttextarea/jquery.highlighttextarea.min.js"></script>
<script>
$(document).ready(function() {
$("textarea").highlightTextarea({
words: ["Hscripts","developers"]
});
});
</script>
<textarea cols="50" rows="5">
Hscripts.com offers a collection of quality webmaster resources and tools for web masters and developers.
Easy to use, these web tools can really help you build, promote, or enhance your web site.