JSF 2 AJAX Example – Check Username Availability

JSF 2 AJAX In this tutorial I am going to show you how to use AJAX (Asynchronous JavaScript And XML) technique in JSF (Java Server Faces) based applications. AJAX is generally used for updating or refreshing a small part of the page because, you may not need to refresh the whole page. Here in this example I am going to…

How to use AJAX in React HTTP GET Request without using Third Party Library

Here I am going to show you how to use AJAX in React HTTP GET request without using Third Party library. To do this I am going to use XMLHttpRequest for fetching data instead of Fetch API (fetch()). AJAX is an acronym that stands for Asynchronous JavaScript and XML. The Fetch API provides an interface to fetch resources from the…

jQuery ajaxSuccess

This AjaxEvent ajaxSuccess registers a handler to be executed whenever an Ajax request completes successfully. Whenever an Ajax request completes successfully, jQuery triggers the ajaxSuccess event. Any and all handlers that have been registered with the .ajaxSuccess() method are executed at this time. To observe this method in action, do the following

jQuery ajaxStart

This AJAXEvent ajaxStart registers a handler to be executed when the first Ajax request begins. Whenever an Ajax request is about to be sent, jQuery checks whether there are any other outstanding Ajax requests. If none are in progress, jQuery triggers the ajaxStart event. Any and all handlers that have been registered with the .ajaxStart() method are executed at this…

jQuery ajaxSend

This AJAXEvent ajaxSend registers a handler to be executed before an Ajax request is sent. Whenever an Ajax request is about to be sent, jQuery triggers the ajaxSend event. Any and all handlers that have been registered with the .ajaxSend() method are executed at this time. To observe this method in action, do the following

jQuery ajaxError

This AJAXEvent ajaxError registers a handler to be called when Ajax requests complete with an error. Whenever an Ajax request completes with an error, jQuery triggers the ajaxError event. Any and all handlers that have been registered with the .ajaxError() method are executed at this time. To observe this method in action, do the following

jQuery ajaxComplete

This AJAXEvent ajaxComplete registers a handler to be called when Ajax requests complete. Whenever an Ajax request completes, jQuery triggers the ajaxComplete event. Any and all handlers that have been registered with the .ajaxComplete() method are executed at this time. To observe this method in action, do the following