动态搜索数据库 [英] Search the database dynamically

查看:81
本文介绍了动态搜索数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我将数据存储在SQL数据库中.我的要求是根据关键字列搜索字段.但是,我想以一种方式实现搜索,如果我键入的字符很少,它应该开始根据输入的字符显示结果.

请提出使用AJAX或使用jQuery哪种方法更有效?另外,请引导我完成操作.

此处的搜索(标签)是通过这种方式实现的.

在此先感谢!

干杯

Hi,

I''ve my data in SQL database. My requirement is to search the fields based on keywords column. However, I want to implement search in such a way that, if I type few characters it should start showing the results based on the characters entered.

Please suggest which way would be more effective, AJAX or using jQuery? Also, please guide me through how it can be done.

The search here (Tags) is implemented this way.

Thanks in advance!!

Cheers

推荐答案

这里没有比较-AJAX或jQuery.

AJAX是一种从客户端与服务器通信的技术,而jQuery促进了该技术.
此处: http://api.jquery.com/jQuery.ajax/ [
There is no comparison here - AJAX or jQuery.

AJAX is a technique to talk to server from client side and jQuery facilitates this technique.
Here: http://api.jquery.com/jQuery.ajax/[^]
Go ahead with AJAX implementation using jQuery and get your search result.


这篇关于动态搜索数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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