jQuery Mobile的:列表视图筛选搜索回调函数 [英] jQuery Mobile: Listview Filter Search Callback Function

查看:114
本文介绍了jQuery Mobile的:列表视图筛选搜索回调函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

哎,所以我想有一个过滤搜索,这样你输入一个搜索的两个字母和相应的结果显示在列表视图。是典型的JQM列表视图,因为它太大了,我不能加载整个列表。是否有人可以告诉我如何做到这一点......它有点超出了我的理解范围API

Hey so I want to have a filter search such that you enter two letters of a search and the corresponding results appear in a list view. I can't load the entire list as is typical with the jqm listview because its way too big. Can someone please show me how to do this...its a bit beyond my scope of understanding the API.

我知道如何使用自动完成构件的jQuery,但我想格式化为一个列表视图的结果。因此,一个文本框,2个,然后它下面的列表视图格式的结果,但只有经过信已经进入,我想它来显示结果,这样,它不显示这会花费太长的时间来加载一个巨大的列表。

I know how to use the autocomplete widget for jquery, but I want the results formatted as a listview. So a textbox, and then under it the listview formatted results, but only after two letters have been entered would I like it to display results, that way it doesn't show a giant list which would take too long to load.

推荐答案

看看这个在这里:的https:/ /github.com/commadelimited/autoComplete.js 结果
好像你在找什么。结果
亚历克斯

Check out this here: https://github.com/commadelimited/autoComplete.js
Seems like what you are looking for.
Alex

这篇关于jQuery Mobile的:列表视图筛选搜索回调函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆