riklomas / quicksearch

A jQuery plugin for searching through tables, lists, etc quickly
http://www.lomalogue.com/jquery/quicksearch/
680 stars 261 forks source link

Show results separately #29

Closed kalpeshmistry closed 13 years ago

kalpeshmistry commented 13 years ago

It's a very good script, and I'm trying to implement this on my site for searching through a list of categories. Everything seems to be well and fine, but I still need one thing that should have been provided in the script itself (not aware if it's really in script).

I've been trying to include a separate span / div / ... for listing out the results, instead listing the result under the table or ul . For eg., listing out a ul result in a separate div id. Hope someone can guide me for this...

riklomas commented 13 years ago

Hi Kalpesh,

This functionality isn't included in quicksearch, however there are several ways to get around it.

First would be to have a separate list that is hidden on load and then gets shown during searches by using the onAfter option. Another would be to filter the table, then using onAfter, copy the results to a new div and show all the results on the original table again.

Hope that helps

Rik

nnsandhya commented 12 years ago

can we copy the same result set into a select list?