ajaxSubmit不工作IE9。所有其他浏览器似乎都很好

时间:2014-09-30 01:09:37

标签: mailchimp ajaxsubmit

我有一个简单的(裸体)MailChimp电子邮件注册表单,我无法在IE9中工作。其他浏览器似乎都很好。我知道之前已经提出过这个问题,但是在各种不同的情况下。我们正在使用JQuery Form Plugin。

<script type="text/javascript">
    $(document).ready(function(){
    	$("#mc-embedded-subscribe-form").validate({
    		submitHandler: function(form) {
    			$(form).ajaxSubmit();
    				/*DO SOME OTHER STUFF*/
    		}
    	});
    });
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<div id="mc_embed_signup">
    <form action="//#####.us3.list-manage.com/subscribe/post?u=#############&amp;id=##########" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
        <div id="mc_embed_signup_scroll">
        <h2>Subscribe to our mailing list</h2>
    <div class="indicates-required"><span class="asterisk">*</span> indicates required</div>
    <div class="mc-field-group">
        <label for="mce-EMAIL">Email Address  <span class="asterisk">*</span>
    </label>
        <input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
    </div>
    <div class="mc-field-group">
        <label for="mce-FNAME">First Name  <span class="asterisk">*</span>
    </label>
        <input type="text" value="" name="FNAME" class="required" id="mce-FNAME">
    </div>
    <div class="mc-field-group">
        <label for="mce-MMERGE10">State </label>
        <select name="MMERGE10" class="" id="mce-MMERGE10">
        <option value=""></option>
        <option value="NSW">NSW</option>
    <option value="VIC">VIC</option>
    <option value="QLD">QLD</option>
    <option value="WA">WA</option>
    <option value="ACT">ACT</option>
    <option value="SA">SA</option>
    <option value="NT">NT</option>
    <option value="TAS">TAS</option>
    
        </select>
    </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>    <!-- 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;"><input type="text" name="b_8bd18de15624fc1fb89b76d51_29d17890f0" tabindex="-1" value=""></div>
        <div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
        </div>
    </form>
</div>

0 个答案:

没有答案