11 Answers
New AnswerDaya Bianca hi, Here are pieces of answers (You have explanations & exemples): https://www.tutorialrepublic.com/javascript-tutorial/javascript-json-parsing.php https://www.tutorialrepublic.com/javascript-tutorial/javascript-ajax.php Have a good reading.
JSON (JavaScript Object Notation) is a lightweight, readable format for structuring data. Its main usage is to transmit data from server to client as an alternative to XML. For example: { "firstname" : "David", "lastname" : "Smith", "age" : "42" }; XML is a markup language which is designed to store data. It's popularly used or transfer of data. XML tags are not predefined. You need to define your customized tags. XML was designed to carry data, not to display that data. AJAX(Asynchronous JavaScript And XML) is a technique for accessing web servers from a web page. AJAX is not a programming language.
Spend some time on Stackoverflow,,,, almost every question you might have is already answered,, it will be much better than these half-hearted ans
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message