Figured out the problem. On my php file there is a part where I try to send what ever was posted to this file and send it by email, for some reasons that I don't know the POST data is not included in the email and I tried to use var_dump which was what turns out to print back the posted data to my ajax response.