WhatsApp 9892124323 âCall Girls In Kalyan ( Mumbai ) secure service
Â
Ajax
1.
2. Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra âMentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt .
Ltd
7. Introduction
⢠It is an acronym for
Asynchronous
Javascript
And
XML.
⢠It is a group of inter-related technologies
⢠AJAX allows you to send and receive data
asynchronously without reloading the web page.
12. XMLHttpRequest
⢠The keystone of AJAX is the XMLHttpRequest
object.
⢠The XMLHttpRequest object is used to exchange data
with a server behind the scenes.
16. Create XMLHttpRequest object
var xmlhttp;
if (window.XMLHttpRequest)
{
// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
}
else
{
// code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
17. Create Request
⢠Step 1: Creating a XML HTTP Request object
â var xmlhttp = new XMLHttpRequest();
⢠Step 2: Specifying where and how to retrieve the
resource
â xmlhttp.open('GET', 'foo.jsp', true);
⢠Step 3: Setting a function to be called when the
response is returned by the server
â xmlhttp.onreadystatechange = function()
{ // Code to handle the response here }
26. If this presentation helped you, please visit our
page facebook.com/baabtra and like it.
Thanks in advance.
www.baabtra.com | www.massbaab.com |www.baabte.com
27. Contact Us
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 â 495 40 25 550
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 â 495 40 25 550
Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com
NIT-TBI,
NIT Campus, Kozhikode,
Kerala, India.