AJAX

AJAX can be used for interactive communication with a database.

AJAX

AJAX is an important front-end web technology that lets JavaScript communicate with a web server. Through Ajax we refreshing perticular part of the page without loading the entire web page.AJAX is the art of exchanging data with a server, and updating parts of a web page - without reloading the whole page.It is used for creating fast and dynamic web pages.AJAX allows web pages to be updated asynchronously by exchanging small amounts of data with the server behind the scenes. This means that it is possible to update parts of a web page, without reloading the whole page.

Ajax requests are triggered by JavaScript code; your code sends a request to a URL, and when it receives a response, a callback function can be triggered to handle the response. Because the request is asynchronous, the rest of your code continues to execute while the request is being processed, so it's imperative that a callback be used to handle the response.