Highlight Text From Search Query

Use the http://markjs.io library and an input element to allow users to enter a search query and highlight any matching text in a specified element on the page.
Basic Jquery example: https://jsfiddle.net/julmot/vpav6tL1/
1. Add an attribute to the input field of name="keyword"
2. Add a class of .content to the element it should highlight text within that matches the value entered into the input
We've partnered with startups.gallery to help you find new opportunities at the leading startups in design, development, and AI.
Tags
Industries
Creators
Share this item
Have feedback or a question related to this item? Drop us some feedback!
Subscribe for updates
Get updates on the latest curated resources and be the first to hear of new features.
One more step!
Check your email for a confirmation to ensure we got it right.
Creative portfolios, auth tools, and a URL code trick.
We hope you are having a stellar week! Here are this weeks featured inspiration, code and resources.
Featured inspo























































