aid

Friday, 3 April 2015

Ajax and Jquery

 AJAX is the skill of swapping data with a server, and update parts of a web page - without reloading and refreshing the whole webpage page.

Below lists few importantl the jQuery AJAX approaches:



$.ajax(): makes an async AJAX request
$.get(): Loads data from a server using an AJAX HTTP GET request
$.param():  Creates a serialized demonstration of an array or object .
$.post(): Loads data from a server using an AJAX HTTP POST request
load(): Loads data from a server and puts the reimbursed data into the selected element
$.getJSON(): Loads JSON-encoded data from a server using a HTTP GET request
ajaxSuccess(): Stipulates a function to run when an AJAX request completes without error.
$.ajaxPrefilter():Grip custom Ajax choices or alter existing options before each request is sent and before they are processed by $.ajax()
$.ajaxSetup(): Sets the defaulting values for future AJAX requests
$.ajaxTransport(): Creates an object that handles the actual communication of Ajax data
$.getScript(): Loads and executes a js from a server using an AJAX HTTP GET request
ajaxComplete(): Specifies a function to run when the AJAX request completes
ajaxError(): Stipulates a function to run when the AJAX request completes with an error
ajaxSend(): Stipulates a function to run before the AJAX request is sent
serializeArray(): Encodes a set of form essentials as an array of names and values
ajaxStart(): Stipulates a function to run when the first AJAX request begins
ajaxStop(): Stipulates a function to run when all AJAX requests have completed
serialize(): Encodes a set of form elements as a string for submission

No comments:

Post a Comment