dongzang7182 2015-06-30 14:06
浏览 19
已采纳

结果列表文本输入过滤器

I have a list of contacts, pulled from a MySQL database and displayed using PHP/HTML/CSS etc.

I'm looking to create a filter so as the user types in a textbox it filters the contact list down to those that match the inputted text. Something like this http://kilianvalkhof.com/uploads/listfilter/

Now, that's fine for a shorter fixed list. What would be the best approach to do the same sort of thing, but for a contacts list of around the 10,000 mark, and results per page of 0, 50, or 100.

I could use jQuery DIV requery/reload on keyup - it would work, I just wanted to know if there is a more efficient way of doing it? The perfect working example is Apple iCloud website Contacts Page.

  • 写回答

1条回答 默认 最新

  • duanlin6989 2015-06-30 14:09
    关注

    For this kind of functionality look into AngularJS.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 教务系统账号被盗号如何追溯设备
  • ¥20 delta降尺度方法,未来数据怎么降尺度
  • ¥15 c# 使用NPOI快速将datatable数据导入excel中指定sheet,要求快速高效
  • ¥15 再不同版本的系统上,TCP传输速度不一致
  • ¥15 高德地图点聚合中Marker的位置无法实时更新
  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式