Highlight Text From Search Query

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

Get hired at Highlight Text From Search Query

We've partnered with startups.gallery to help you find new opportunities at the leading startups in design, development, and AI.

Industries

Creators

Have feedback or a question related to this item? Drop us some feedback!

Curated: 
3.16.21

Similar items

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Webflow Secrets

12.3.19

11 time-saving pro tips for web designers working in Webflow

12.3.19

Control Webflow native slider with arrow keys

12.3.19

Using List JS with Webflow

12.3.19

Embracing Webflow as a Frontend Developer

12.3.19

Dynamic Forms With Webflow

12.3.19

How to add dynamic filtering and sorting to your Webflow websites

12.3.19

Webflow Pages WordPress Plugin

12.3.19

Stop handing off concepts and start designing real products with Webflow.

12.3.19

Product Prototyping with Webflow

12.3.19

Adding cookies to custom modals

12.3.19

Webflow Seamless Pagination

12.3.19

The Low-Code/No-Code Movement: More Disruptive Than You Realize

12.3.19

CSS Scroll Snap

11.21.19

CSS Aspect-Ratio

11.21.19

Min/Max/Clamp Individual Styles

11.21.19

CSS Combinators

11.21.19

@Media Prefers Dark/Light

11.21.19
Load more

Bummer, no results

Try a different search/filter combo, or drop us some feedback if there is something missing you would love to see!

Reset filters

Subscribe for updates

Get updates on the latest curated resources and be the first to hear of new features.