
We are Offering 20% Discount for the first 150 Subscribers.
Subscribe for Discount code..!!
jQuery( "#cspio-cf-send-button" ).click(function( event ) { //if($("form")[0].checkValidity()){ event.preventDefault(); cf_send_request(); //} });
function cf_send_request() { jQuery.ajax({ url: "https://faucifashion.com/wp-admin/admin-ajax.php?action=seed_cspv5_contactform_callback&_wpnonce=ddb875e03e", dataType: "jsonp", timeout: 30000, data: jQuery("#cspio-cf-form").serialize(),
// Work with the response success: function( response ) { if(response.status == '200'){ if(response.html == ''){ jQuery('#cspio-cf-email').val(''); jQuery('#cspio-cf-msg').val(''); jQuery('#cspio-cf-modal').modal('hide'); }else{ jQuery( "#cspio-cf-form" ).replaceWith( response.html ) }
}else{ alert(response.status); } }, error: function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(errorThrown); alert('The email could not be sent. Possible reason: your host may have disabled the mail() function.'); } });
}