ajax with javascript

Ajax in javascript contains four parts.
first part makes xml object.
.open(type,url,true or false)
- type denotes method either post or get.
- url denotes file path.
.onreadystatechange
what to do on ajax completion.
- readyState denotes status of ajax request {4 denotes ajax is successfully completed} .

0	The request is not initialized
1	The request has been set up
2	The request has been sent
3	The request is in process
4	The request is complete

send() method sends the request off to the server

ajax

Post Comment
Login to post comments