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.

Webspo

4.26.22

Pangram Pangram Foundry

4.25.22

Pangram Pangram Foundry

4.25.22

Yama

4.25.22

Replo

4.16.22

RocketAir

4.14.22

Halo Media

4.13.22

Kyle Craven

4.12.22

Statement

4.11.22

View All or Show Less List Pagination

4.11.22

Flume

4.7.22

Webflow Forms to Airtable (without Zapier or Make)

4.5.22

Relume Library

$32/mo
4.5.22

Super

4.4.22

Films 53/12

4.4.22

Aura

4.4.22

GSAP

4.1.22

Editor X

4.1.22

Word of Mouth

3.30.22

Update Page Title When Navigating Away

3.30.22

Dima Kutsenko

3.28.22

Capchase

3.28.22

Jack Jaeschke

3.28.22

Stas Bondar

3.28.22

Tears Of War

3.28.22

Get UTM Parameter Source From URL

3.28.22

Set Referrer URL as Hidden Input

3.28.22

Propel

3.23.22

Real Thread

3.23.22

Add-a-Field Form

3.22.22

Bowen

3.22.22

BRAINLAYERS

3.21.22

Cash Your Flow | Webflow Pricing Calculator

3.18.22

Fetch and Nest Content From Another Page

3.17.22

Dial it Down

3.16.22

Modern Elder Academy

3.16.22

The State of Conversational Commerce

3.16.22

Dippies

3.3.22

Apex Transformations

3.3.22

OnTrend

3.3.22

A Designers Guide to Javascript

3.3.22

Product School | 2022 Report

3.2.22

NuCode

3.1.22

Violet

3.1.22

ThreeSixtyEight

2.25.22

Earn for your writing

2.24.22

STADIO

2.19.22

Folklore

2.19.22

SEEN

2.19.22

Failure Inc.

2.19.22

Reload Motors

2.19.22

Neural Concept

2.19.22
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.