Skip to content

Tag Archives: jQuery-AJAX

AJAX is a technique, not a programming language which is used by the developers to make the websites behaving like desktop applications. It operates on… Read More
The task is to show how the XMLHttpRequest can be used to get data from an API by making custom HTTP library. I will be… Read More
AJAX is an abbreviation for Asynchronous JavaScript and XML. AJAX is a technique not a programming language which is used by the developers to make… Read More
AJAX (Asynchronous JavaScript and XML) is a set of tools used to make calls to the server to fetch some data. In this article, we… Read More
To transfer Files in jQuery using Ajax we follow the following steps and an example demonstrating the same: Using HTML5, we can upload files using… Read More
The ajaxSetup() method in jQuery is used to set the default values for future AJAX requests. Syntax: $.ajaxSetup( {name:value, name:value, ... } ) Parameters: type:… Read More
The ajax() method in jQuery is used to perform an AJAX request or asynchronous HTTP request. Syntax: $.ajax({name:value, name:value, ... }) Parameters: The list of… Read More
The getScript() method in jQuery is used to run a JavaScript using AJAX HTTP GET request. Syntax: $(selector).getScript(url, success(response, status)) Parameters: It contains two parameters… Read More
The getJSON() method in jQuery fetches JSON-encoded data from the server using a GET HTTP request. Syntax: $(selector).getJSON(url,data,success(data,status,xhr)) Parameters: This method accepts three parameters as… Read More
The ajaxError() method in jQuery is used to specify function to be run when an AJAX request fails. Syntax: $(document).ajaxError( function(event, xhr, options, exc) )… Read More
The ajaxSuccess() method in jQuery is used to specify the function to be run when an AJAX request completed successfully. Syntax: $(document).ajaxSuccess(function(event, xhr, options)) Parameters::… Read More
The post() method in jQuery loads the page from server using POST HTTP request and returns XMLHttpRequest object. Syntax: $.post( url, data, callback_function, data_type )… Read More
The ajaxStart() method is used to specify function to be run when an AJAX request starts. Syntax: $(document).ajaxStart(function()) Parameter:: It takes only one parameter. function():… Read More
The ajaxStop() method is used to specify function to be run when an AJAX requests have completed. Syntax: $(document).ajaxStop(function()) Parameter:: It takes only one parameter.… Read More
The serializeArray() is an inbuilt method in jQuery which is used to create a JavaScript array of objects that is ready to be encoded as… Read More