سؤال

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!

هل كانت مفيدة؟

المحلول

Have you tried calling it again after the table loads?

$('input#id_search').quicksearch('table#table_example tbody tr');
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top