WorkChimp / Offers / Business Offers / I will create logo for you

I've tryed your code that I understand. I still have no results, even if i only write echo "success"; in myphp.php user2094540
Commented Feb 21, 2013 at 10:26
@Pierrev.d.Erle The dataType property passed to $.ajax() sets the expected data type of the server response. If you set that to json then your code expects the server to return valid JSON, and jQuery will attempt to parse the response text as JSON. In the case that the response isn't valid JSON - and the string "success" isn't - that parse will fail, and the success callback of the AJAX request won't be executed.
Oh ok, I understand. Thanks for your explanations ! Actualy, I think that Moodle blocks my Ajax code for some reasons I don't know. user2094540
Commented Feb 22, 2013 at 9:47
provide your colors preferences
United States