How to Ajax make checks reCapcha of Google?

There is a form to send data.
Like Ajax to make the test show?

Script Ajax
$(document).ready(function() {
 $("#writeAppointment").submit(function() {
 type: "POST",
 url: "mail.php",
 data: $(this).serialize()
 }).done(function() {
 alert("Thank you for the request! Soon we will contact you.");
 return false;
March 12th 20 at 08:10
0 answer

Find more questions by tags JavaScriptAJAX