Response title
This is preview!
Creating a file in the main web directory is probably going to fail.
Use the debugger built into all modern browsers to see what was in the AJAX response. It’s probably errors.
That's a good questionWhy are you bothering to use AJAX when all you do is discard the page and try to display the results?
© 2013 jQuery Foundation
Sponsored by and others.