AJAX aka Asynchronous JavaScript and XML is popular for designing the interactive web pages. It is the technique that let the users update some parts of the web page without refreshing the whole page. This is possible because it updates the web pages asynchronously and exchanges a small amount of data with the servers which is not seen by the users. This is why AJAX is also known as a game changer for improving the user experience.
Below are few major features of Ajax
Q1. What are the steps of creating an AJAX request?
Q2. What is Ajax? LIst few benefits using AJAX?
An asynchronous JavaScript and XML is called AJAX. It acts always not exactly in the presence of the code. In order to get a response from a webpage or any web services, it calls the methods.
Below are a few advantages of Ajax.
Q3. What is difference between Asynchronous and Synchronous code?
Q4. RIA Stands For what?
Q5. For what XMLHttpRequest object is used?
Q6. How to create an request object?
Q7. What are various Httpo status codes returned by AJAX?
Q8. How to cancel the current request in AJAX?
Q9. What does AJAX stand for?
Q10. When should you use the POST HTTP method with AJAX?
Q11. What is difference between JSON and JSONP?
Q12. Which jQuery method is used for handling errors in an AJAX response?
AJAX | JSON |
---|---|
AJAX refers to Asynchronous JavaScript and XML | JSON refers to JavaScript Object Notation. |
AJAX used to send and receive data between a web browser’s objects and another source usually a web server commonly over HTTP. | JSON is a simple data format that could be read by any human being. It can send via AJAX but can be used for other purposes besides AJAX. |
AJAX uses JavaScript programming language mainly for preparing interactive web pages | JSON uses a JavaScript programming language for developing any code. |
AJAX message entirely dynamic means it doesn’t have any specific structure. | JSON message always defines one well-defined Object structure |
AJAX is mainly used for designing the web page, especially when the page needs some server-side data without refreshing the same. | JSON is mainly using for Restful Web Service, which is not used for specific web applications. |
It is always used for web applications | JSON is sometimes not used for a web application at all. |
Atlas
Valid name is required.
Valid name is required.
Valid email id is required.
Sharad Jaiswal
My name is Sharad Jaiswal, and I am the founder of Conax web Solutions. My tech stacks are PHP, NodeJS, Angular, React. I love to write technical articles and programming blogs.