Category Archives: filter()

Highlighting Matching Text in Search Results with jQuery

Following on from a previous post Easy Search As You Type List Filtering with jQuery, I’ve added a new function/feature to this script – the ability to highlight the matching text in the search results. Here’s the pen: See the … Continue reading

Posted in filter(), jQuery, slice() | Tagged , , , , , , , , , , , | 1 Comment

Easy Search As You Type List Filtering with jQuery

This post shows a quick and easy way of searching or filtering a list by typing into a textbox. Matching list items are revealed as you type. This is great for working with any list to long to scan in … Continue reading

Posted in click(), datalist, filter(), html, indexOf(), input(), JavaScript, jQuery, on(), toLowerCase() | Tagged , , , , , , , , , , | 4 Comments