Click here to Skip to main content
15,886,078 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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?
Posted

1 solution

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.
 
Share this answer
 
Comments
Anuja Pawar Indore 29-Aug-11 9:43am    
I am using AutoCompleteExtender from ajax toolkit.
Anuja Pawar Indore 29-Aug-11 9:46am    
My question is which is more faster and why? Ajax or JQuery/Javascript
TheyCallMeMrJames 29-Aug-11 11:38am    
Neither will impact performance, but I find jQuery UI easier to set up - especially with MVC. You can find plenty of examples on each and see which code fits your style best. Performance will again be something that you will have to deal with. I did run into a library called something like 'monorails.js' that has a 250ms delay on the client that could not be configured. The Ajax toolkit and the jQuery UI don't have such limitations. Cheers.
Manoj Kumar Choubey 17-Jan-12 4:38am    
I am using jQuery UI's autocomplete.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900