Skip to content

Instantly share code, notes, and snippets.

View blzbruno's full-sized avatar

Bruno Luiz blzbruno

  • LNXWEB
  • Brasil
View GitHub Profile
@blzbruno
blzbruno / mautic-ajax-submit.js
Last active September 15, 2019 18:20
Mautic Ajax Submit
function sendMautic() {
var name = $("#name").val();
var email = $("#email").val();
var whatsapp = $("#whatsapp").val();
$.ajax({
url: "https://domain.com.br/form/submit?formId=XX",
type: "post",
enctype: 'multipart/form-data',
headers: {'X-Requested-With': 'XMLHttpRequest'},
data: { "mauticform":{