Using AJAX to Post Form Data
JAX, short for asynchronous javascript and XML, is one of the "in" web technologies at the moment. Although it is currently being utilized in a wide variety of ways, it's original intended method was simply sending data and retrieving responses without waiting for a page to reload. We're going to take a step back to the time where that was all it was used for. To start off, we're going to write our PHP script that we are POSTing to. We're just going to have it echo our name back to us. Simple, but we've gotta start somewhere!