Level 21 Level 23
Level 22

AJAX 19


10 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Ignore?
Define the XHR method: send(content)
initiates XHR request with 'content' as the body of the request
Define the XHR method: setRequestHeader(key, value)
sets a request header used in the XHR request
Define the XHR property: onreadystatechange
The event handler invoked when the request is returned or fails.
Define the XHR property: readyState
Integer representing current state:\n0 – UNSENT\n1 – OPENED\n2 – HEADERS_RECEIVED\n3 – LOADING\n4 – DONE
Define the XHR property: responseText
body content returned in the response
Define the XHR property: responseXML
if the body was XML content, this is the DOM structure for that content
Define the XHR property: status
HTTP response code from the server: 200/success; 400/not found
Define the XHR property: statusText
description of the HTTP response code
success (these are actually the HTTP request codes)
when using ajax queries, what do status codes 200–299 represent?
failures (these are actually the HTTP request codes)
when using ajax queries, what do status codes of 300 or above represent?