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
JSON is transmitted over the web as plain text. To make it useful for a JavaScript program, you need to parse it, or convert it from a string to JavaScript.
Chrome Console Keyboard Shortcuts
- Windows: Ctrl + Shift + J
- Mac: Cmd + Option + J
Firefox Console Keyboard Shortcuts
- Windows: Ctrl + Shift + K
- Mac: Cmd + Option + K
Internet Explorer Console Keyboard Shortcuts
- F12 key
Safari Console Keyboard Shortcuts
- Cmd + Option + C
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
Okay, with Ajax the browser sends out a
request to
0:00
the web server and the web server sends a
response.
0:00
The response is just plain text, even
though the server
0:04
sends back information that looks like
HTML, XML, or JSON.
0:07
To a web browser those responses are just
a string of characters,
0:12
in other words, even though JSON is
formated to look like JavaScript,
0:16
it isn't JavaScript, It's a plain text
string, just a bunch of
0:20
letters, numbers, and punctuation marks
with
0:25
no magical significance to your web
browser.
0:27
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