A simple example of validating a form using jQuery, AJAX, and PHP