vdw / HideSeek

A simple, mobile-friendly, yet customizable quick/live search jQuery plugin.
http://vdw.github.io/HideSeek
Apache License 2.0
429 stars 74 forks source link

Specify class (or set of classes) as attribute #6

Closed brettmhoffman closed 9 years ago

brettmhoffman commented 9 years ago

It would be very handy to be able to set a specific tag or class name as the "attribute" to search against.

vdw commented 9 years ago

By default, the results are based on the text inside the list elements, but, you can change this by setting the attribute you want with the option "attribute". E.g. If you have a list of logo images (for example a list of brands) you can set the option "attribute" to "alt".