我有我有麻煩接受來自只能在IE的成功響應我的頁面上的表單問題。該表單在所有其他瀏覽器中都能正常工作。它永遠不會奏效了第一次瀏覽器是開放的,但一旦你的IE打開的開發工具,它開始工作,你可以看到成功的消息...IE提交表單的jQuery表單插件
我有一個測試網站,我可以PM如果人們願意幫幫我。任何幫助深表感謝。
我使用jQuery表單插件和驗證插件。這裏是我的表單代碼:
/* feedback form validation */
$('#feedback_form').validate();
/* submit form via ajax and get confirmation thank you */
$("#feedback_form").ajaxForm({
target: "#hiddenDiv",
url : $(this).attr('action'),
type : $(this).attr('method'),
dataType: 'json',
data : $(this).serialize(),
success: function(data, status) {
console.log('SUCCESS: ' + data['success'] + " status: " + status);
var msg = data['success'];
switch (msg){
case true:
$("#form").slideUp(200, function(){
$('#thankyou').show(400);
$("#captcha_error").css("display", "none");
setTimeout(function(){
$('#feedback-container').modal('hide')
}, 4000);
});
break;
default:
$('#msg').html( $("#hiddenDiv #content ul").html());
break;
}
}
});
你可以創建一個**的jsfiddle **嗎? – gdoron