Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed AJAX Basics!
You have completed AJAX Basics!
Preview
Learn about the XMLHttpRequest Object, what AJAX stands for, and the four steps to creating and sending a XHR request.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Back then, it wasn't called AJAX and in
fact, AJAX isn't really its official name.
0:00
Technically, it's called a XMLHttpRequest
Object.
0:03
It's sometimes shortened to just XHR.
0:08
Put simply, AJAX is the process of using
JavaScript to send a request to
0:11
a web server, and receive a response back,
and then do something with that response.
0:15
What you send to the web server with AJAX
can be a simple request for a
0:21
webpage, a text file, a search sent to
0:25
a database, or a complete form full of
information.
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up