15.09.2014 Views

JSON

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>JSON</strong> in Ajax<br />

• XMLHttpRequest<br />

Obtain responseText<br />

Parse the responseText<br />

responseData = eval(<br />

'(' + responseText + ')');<br />

responseData =<br />

responseText.parse<strong>JSON</strong>();

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!