Click here to Skip to main content
15,905,607 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

I am confused about using ajax or jquery so I want to know what the differences are and which one is better such as performance and complexity.
Posted

Ajax stands for Asynchronous JavaScript and XML. It is note something exact, it is a technique, an approach. But it mostly confused with the XMLHttpRequest[^] tool, that makes it possible, to make a http call to a server from the client, without refreshing the window content, thus changing the DOM. More exactly XMLHttpRequest is part of Ajax.
JQuery is a JavasScript library that makes ajax development easier...
 
Share this answer
 
AJAX[^] is a technique to do an XMLHttpRequest[^] (out of band Http request) from a web page to the server and send/retrieve data to be used on the web page. AJAX stands for Asynchronous Javascript And XML. It uses javascript to construct an XMLHttpRequest, typically using different techniques on various browsers.

jQuery[^] (website[^]) is a javascript framework that makes working with the DOM easier by building lots of high level functionality that can be used to search and interact with the DOM. Part of the functionality of jQuery implements a high-level interface to do AJAX requests. jQuery implements this interface abstractly, shielding the developer from the complexity of multi-browser support in making the request.

And Also Refer Below Link.
http://theprofessionalspoint.blogspot.in/2012/05/difference-between-ajax-and-jquery.html[^]
http://www.differencebetween.net/technology/difference-between-jquery-and-ajax/[^]
 
Share this answer
 
v2

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