How can I [simply] consume JSON Data to display to the page
- by Atomiton
I usually use JSON with jQuery to just return a string with html. However, I want to start to use Javascript objects in my code.
What's the simplest way to get started using json objects on my page?
Here's a sample Ajax call ( after $(document).ready( { ... }) of course:
$('#btn').click(function(event) {
event.preventDefault();
var…