选择哪个AutoSuggest [英] Which AutoSuggest to go for

查看:117
本文介绍了选择哪个AutoSuggest的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我曾经使用过自动建议的Javascript和Ajax.但是请建议您要投票支持Ajax或Javascript,为什么?

I have used Javascript and Ajax, both autosuggest. But please suggest you would like to vote for Ajax or Javascript and why? Please let me know the security issues if any?

推荐答案

Ajax JavaScript,但是如果您指的是工具箱之类的东西,请告诉我.请让我们知道哪个.

我使用jQuery UI的自动完成 [ ^ ].它快速,干净且易于在您的网站上运行.有许多将其与ASP.NET MVC一起使用的示例.

就安全性而言,一切都取决于您.如果您使用的是POST,那么问题就少得多了.如果您使用的是HTTPS,那就更好了.库和控件本身不会阻止您进行XSS攻击,也不会阻止用户进行窃听.这是在你身上.

干杯.
Ajax is JavaScript, but if you''re referring to a toolkit or something please let us know which one.

I use jQuery UI''s autocomplete[^]. It is fast, clean and easy to get running on your site. There are great examples on using it with ASP.NET MVC.

As far as security goes, that all comes down to you. If you are using POST, a lot less of an issue. If you are using HTTPS, even better. The libraries and controls themselves won''t prevent you from XSS attacks and won''t prevent your users from eavesdroppers. This is on you.

Cheers.


这篇关于选择哪个AutoSuggest的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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