Jump to content

Need some cue


Chikwado

Recommended Posts

AJAX doesn't read XML data, it just downloads the XML document from the server.

XML is read using the XML DOM.

 

JSON is just a Javascript object (JavaScript Object Notation), reading it is as simple as reading the properties of the Javascript object it returns.

Learn about objects here: https://www.w3schools.com/js/js_objects.asp

 

Sometimes JSON is given as a string, you can use JSON.parse() to turn a string into an object.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...