Home › Forums › JavaScript › How to separate PHP content returned in an AJAX Jquery POST function › Re: How to separate PHP content returned in an AJAX Jquery POST function
January 8, 2013 at 12:12 am
#120211
Member
Entry a bit old now, but thanks for your code stefanbar, I needed the same thing for my code.
I don’t really understand the use of this line:
header(‘Content-type: application/json’);
but it was necessary.