How to Ajax make checks reCapcha of Google?

Hi!
There is a form to send data.
Like Ajax to make the test show?
5bbe2f425fa2f544769131.png

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

Find more questions by tags JavaScriptAJAX