quickSearch jQuery plug-in - Handling Live Content?
-
09-10-2019 - |
Question
I'm using the quickSearch jQuery plug-in: http://lomalogue.com/jquery/quicksearch/
The reason it's not working currently in my app, is that while my search box remains constant, the table does not...
It's a web app, and the table changes. Problem is the QuickSearch plugin will only search with the first table, if I AJAX in new table contents QuickSearch doesnt work, though if I switch back to that first table it works.
Ideas? Thanks!
Solution
Have you tried calling it again after the table loads?
$('input#id_search').quicksearch('table#table_example tbody tr');
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow