gpt4 book ai didi

jQuery 搜索和过滤表

转载 作者:行者123 更新时间:2023-12-03 22:50:13 25 4
gpt4 key购买 nike

我正在寻找一个 jQuery 插件,可以根据输入值过滤表格。

我遇到了http://rikrikrik.com/jquery/quicksearch/ ,但我不知道如何使其适用于已经存在的输入框。

目前它为我创建了一个新的输入表单(我不想要),但我希望能够将它与具有输入提交按钮的现有输入框一起使用。

最佳答案

看来时间已经为你解答了你的问题。 QuickSearch事实上,它允许您将搜索功能附加到预先存在的文本输入框。

riklomas 提到:

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.

我今天刚开始使用它,看起来效果很好。它似乎确实消耗了 CPU 份额,至少在我的测试环境(Firefox 3.6、OS X 和相当大的数据集)上是这样,但这可能不是这个特定插件所独有的。

关于jQuery 搜索和过滤表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/832598/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com