Multiple JQuery filtering criteria (www.lynda.com)
I'm trying to find a JQuery filtering system like the one used in www.lynda.co开发者_高级运维m click here to see. Can anyone please send me a link where can I find the plugin or if there is any available tutorial for it?
Many thanks.
I'm not sure there is one, so far I've found:
http://net.tutsplus.com/tutorials/javascript-ajax/using-jquery-to-manipulate-and-filter-data/
EDIT: You could also you some modified version of this: http://kilianvalkhof.com/2010/javascript/how-to-build-a-fast-simple-list-filter-with-jquery/
EDIT: Also found this, author site is down so I was unable to be sure but I think it does what you want: http://plugins.jquery.com/project/magictags
After a bit of Googling, I'd personally use TableSorter (it's in Russian, but I linked to a Google Translate version). It allows you to specify what sorts the elements upon sorting (value, length of text, custom extracted text, etc.), which is really useful.
But it would be a better learning experience if you were to write one from scratch. If it's good enough, you can even distribute it to others!
精彩评论