diff --git a/index.html b/index.html index 2c6b7ae..2b7b301 100644 --- a/index.html +++ b/index.html @@ -14,7 +14,7 @@

Emissary Talent

A full service agency for representing the finest talent across the US.

-
@@ -105,7 +105,13 @@ $('form').submit((event)=>{ event.preventDefault(); $.ajax({ - url:'/mail.php' + url:'/mail.php', + method:POST, + data: { + name: $('#name').val(), + email: $('#email').val(), + message: $('#message').val(), + } }).then((data)=>{ console.log(data); });