Saturday, 24 January 2015

JQuery getJSON() method

Get JSON data using an AJAX request, and output the result:
The getJSON() method is used to get JSON data using an AJAX HTTP GET request.

#Syntax
$(selector).getJSON(url,data,success(data,status,xhr))


Read More...

Monday, 5 January 2015

JQUERY POST() METHOD

JQUERY POST() METHOD


Load data from the server using a HTTP POST request:
The $.post() method loads data from the server using a HTTP POST request.

Read More...


Syntax
$(selector).post(URL,data,function(data,status,xhr),dataType)

Read More...

JQUERY AJAXSETUP() METHOD

JQUERY AJAXSETUP() METHOD

Set the default URL and success function for all AJAX requests:
The ajaxSetup() method sets default values for future AJAX requests.


Syntax
$.ajaxSetup({name:value, name:value, ... }

Read More...

Sunday, 4 January 2015

JQUERY AJAX() METHOD

JQUERY AJAX() METHOD



The ajax() method is used to perform an AJAX (asynchronous HTTP) request.
All jQuery AJAX methods use the ajax() method. This method is mostly used for requests where the other methods cannot be used.


Syntax


$.ajax({name:value, name:value, ... })
The parameters specifies one or more name/value pairs for the AJAX request.


Read More...

AJAX AND JAVASCRIPT

Ajax work with javascript in Four steps:

AJAX - XMLHTTP REQUEST
AJAX - Send a Request To a Server
AJAX - Server Response
AJAX - The onreadystatechange Event

Read more...

AJAX - xml http request


The XMLHttpRequest object all modern browsers support the XMLHttpRequest object (IE5 and IE6 use an ActiveXObject).The XMLHttpRequest object is used to exchange data with a server behind the scenes.....

Read more...

AJAX - Send a Request To a Server


The XMLHttpRequest object is used to exchange data with a server.To send a request to a server, we use the open() and send() methods of the XMLHttpRequest object....

Read more...

GET or POST:

GET is simpler and faster than POST, and can be used in most cases. However, always use POST requests when. cached file is not an option (update a file or database on the server) Sending a large amount of data to the server (POST has no size limitations) Sending user input (which can contain unknown characters), POST is more robust and secure than GET...

Read more...


Async=false

To use async=false, change the third parameter in the open() method to false.Using async=false is not recommended, but for a few small requests this can be ok.Remember that the JavaScript will NOT continue to...

Read more...


AJAX - Server Response


To get the response from a server, use the responseText or responseXML property of the XMLHttpRequest object.\

ResponseText

ResponseXML


AJAX - The onreadystatechange Event


When a request to a server is sent, we want to perform some actions based on the response.
The onreadystatecha


Using a Callback Function


A callback function is a function passed as a parameter to another function.
If you have more than one AJAX task on your website, you should create ONE standard function for creating the XMLHttpRequest object, and call this for each AJAX task.



Ajax Basic Tutorial | Ajax Introducation

Ajax Introducation |


AJAX = Asynchronous JavaScript and XML. 
AJAX is not a new programming language, but a new way to use existing standards.
AJAX is the art of exchanging data with a server, and updating parts of a web page - without reloading the whole page.

Read More ....


AJAX is Based on Internet Standards |


AJAX is based on internet standards, and uses a combination of XMLHttpRequest object (to exchange data asynchronously with a server) JavaScript/DOM 

Read More ....

How AJAX Works |


Browser

Create an XMLHttpRequest object

send HttpRequest

Read More ....

Ajax Basic Tutorial

We have following category in which ajax are divide. Select which suite you best.


1. Ajax Basic Tutorial.

2. Ajax Multiple Choice Question and Answer.

3. Ajax Interview Question and Answer.

4. Ajax Practice Question and Answer.







In this all category Ajax is describe you for more information click here.