> Here's register.php - the page with the form and the js > http://pastebin.com/m696999f7 > > and register-process.php which handles the data and was supposed to > return something which I guess it doesn't. Without AJAX it echoed the > responses just fine > http://pastebin.com/m35017afe > > the #loaded div is on my index.php and is just an empty div to load > into. > > When I click the register button, it does some ajax (My loading image > shows ajaxStart and ajaxStop is triggered) and then just clears the > div. No errors or responses, just empty.
Add this to the top of register-process.php: <?php header('Content-type: text/xml'); ?>