$.ajax({
url: 'contact',
type: 'post',
asynch: 'false',
dataType: 'json' ,
data: "recaptcha_challenge_field=" + $("#recaptcha_challenge_field").val() +
"&recaptcha_response_field=" + $("#recaptcha_response_field").val() ,
success: function(data) {
alert(data);
return;
}
});
json reponse looks like this
{"the_result":"false"}
but alert(data) gives [object,object]