I've got a PHP form on index.php that submits through AJAX through submit.php.
Not sure why AJAX isn't working but when I submit the form, the browser just redirects me to submit.php instead of the form DIV in the HTML updating through AJAX.
Here is the index.php code: http://pastebin.com/94QvysMp and the submit.php code: http://pastebin.com/2eJtU8Yw
I think the issue is within the index.php code around about line 39 to 85, but I just can't put my finger on what the issue is why the AJAX isn't working.
Help is appreciated, thanks.