Welcome to the Treehouse Community
Looking to learn something new?
Sending more than 1 AJAX request to same PHP file
How I can send more than 1 AJAX JQuery request to same PHP file.
I cant put like this:
It wont work.
But if I write it like this:
It will work, I want to send more than request. How I can do that?
Andrew McCormick17,730 Points
Check out Closures - stackoverflow- closures
followed by this one for the php side - http://www.googleclosure.com/ajax-recieving-json-data/