Pretty much the same problem in my case. My subscribe form renders in a widget, but when I hit the subscribe button nothing happens …
I have fixed my self by override js and added
beforeSend: function(){
$('.mailjet_widget_form_message').html('<i class="fa fa-spinner fa-pulse fa fa-fw margin-bottom"></i>');
},
here is code full code
jQuery(document).ready(function() {
//option A
jQuery("form#mailjetSubscriptionForm").submit(function(event){
event.preventDefault();
const form = $(this);
const message = $('.mailjet_widget_form_message');
jQuery.ajax({
url : mjWidget.ajax_url,
type : 'post',
data : form.serializeArray(),
beforeSend: function(){
$('.mailjet_widget_form_message').html('<i class="fa fa-spinner fa-pulse fa fa-fw margin-bottom"></i>');
},
success : function(response) {
message.text(response);
},
error : function(err) {
message.text('An error occurred.');
}
});
});
});