I was looking for a jQuery plugin that'll filter a table according to input values.
I came across http://rikrikrik.com/jquery/quicksearch/, but I can't figure out how to make it work for an already existing input box.
Currently it creates a new input form for me (which I don't want) but I'd like to be able to use it with an existing input box that has a input submit button.
It looks like time has answered your question for you. QuickSearch does in fact allow you to attach the search function to a preexisting text input box.
riklomas mentions that:
Note that the usage has changed in the latest version of quicksearch, the code is not backwards compatible, the form and input are not build by the script any more.
I've just started using it today and it looks like it works pretty well. It does appear to eat up it's share of CPU, at least on my testing environment (Firefox 3.6, OS X, and a pretty large data set), but that's probably not unique to this particular plugin.
This is not possible with this plug-in out-of-the-box, unless you dig into its code and modify it to do this.
The search inputbox is automatically generated by its own javascript and there are no options to change that behavior.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With