A little confusion about AJAX and inserting into DOM..
- by Gnee
I have this working great, but I'd like a deeper understanding of what is actually going on behind the scenes.
I am using Jquery's Ajax method to pull 5 blog posts (returning only the title and first photo). A PHP script grabs the blog posts' title and first photo and sticks it in an array and sends it back to my browser as JSON.
Upon receiving…