how to write immediately search (c#)

时间秒杀一切 提交于 2019-12-06 16:08:21

We implemented a Google Instant type of search using the following:

  1. TypeWatch Plugin: The TypeWatch plugin raises an event x milliseconds after the user stops typing in the text box. Can be configured to activate after a number of characters have been typed.
  2. A server-side Search function: Implement your search and expose it in a url in your site so you can submit searches and return json objects with the result.
  3. An Ajax call: When the typewatch event is raised, make the ajax call to the Search endpoint, and render the results.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!