I need to show loader when ajax calls in mailchimp.
My coding like,
<form action="Myactionname" method="post" id="mc-embedded-subscribe-
form" name="mc-embedded-subscrib
e-form" class="result" target="_blank" novalidate onsubmit="thirdpart();">
<div class="mc-field-group">
<!--<label for="mce-EMAIL" class="labelemail">Email Address <span class="asterisk">*</span> </label>-->
<input type="email" value="" name="EMAIL" class="required email textinputbox" id="mce-EMAIL"
placeholder="Email Address *" onfocus="this.placeholder=
''" onblur="this.placeholder='
Email Address *'">
<input type="submit" value="Sign up" name="signup" id="mc-embedded-subscribe"
class="btn_brd" >
</div>
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true">
<input type="text" name="b_bc66e7d3354ff8ce99
f71a04d_38
31086bec" tabindex="-1" value="">
</div>
</div>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div
>
<div class="response" id="mce-success-response" style="display:none"></div
>
</div>
</form>
<script src="
https://s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js"></script>
My form validate and submit showing error …