0

I lost a JavaScript-based, sortable-table script that had a unique feature of a search box. The search box that made non-relevant rows disappear when a user typed a word.

Any idea where I can find a similar script to this? Again, it is all JavaScript based.

1

The best and easiest thing to use is the jQuery Datatable plugin. Of course, at this very second, the website is down: http://www.datatables.net/

Edit: The site is back up now. Check it out for some really nice demos. The rest of my comment is below, as it still provides some good info.

To see what it's all about in the mean time, check out: http://www.codeproject.com/Articles/194916/Enhancing-HTML-tables-using-a-JQuery-DataTables-pl

There's also a working demo, with the search field in the upper right corner of the table, here: http://jquery-datatables-column-filter.googlecode.com/svn/trunk/index.html

That site above is actually for a plugin that adds a column filter as well, so you can search only a column. The default search for the Datatable plugin searches all fields in a row.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.