我似乎无法找出为什么 IE 在发布后没有阅读我的成功。我试过cache: false了,没有运气。这适用于所有其他浏览器,但不适用于 IE。
       $.ajaxSetup({ cache: false });
        num = $('#num').val();
        phone = $('#phone').val();
        $.post("post.php?"+$("#MYFORM").serialize(), {
        }, function(response){
            if(response==1 && codeVal == 1 && telVal == 1)
            {
                $("#after_submit").html('');
                $("#Send").after('<label class="success" id="after_submit">Η αποστολή πραγματοποιήθηκε</label>');
                change_captcha();
                clear_form();
                $.ajax({
                        type:'get',
                        cache: false,
                        url: "http://web.somesite/submit_code.php",
                        dataType: 'html',
                        data:{ user: "one", pass: "mtwo", source: "WEB", receipt: num, msisdn: phone},
                        success: function(data) { 
                            var qsFull = "http://web.somesite.gr/submit_code.php?" + data;
                            var qs = URI(qsFull).query(true);
                            TINY.box.show({html:qs.message,animate:false,boxid:'error',top:5});
                        }
                    });
            }
            else
            {
                $("#after_submit").html('');
                $("#Send").after('<label class="error" id="after_submit">Error! in CAPTCHA .</label>');
            }
        });
好的,我尝试在成功后添加一个错误,我看到我的弹出窗口应该是这样,但是 qs.message 的值是 0。为什么我会得到错误而不是成功,当它在其他浏览器中成功时.