Google Chrome 和 Firefox 可以毫无问题地推断出服务器的响应为什么不推断出 IE9 服务器的响应但是如果我在其中打开控制台一切正常
jQuery
var cur_numbquest = 0;
function answer(numquest, idvar, idquest){
$('#quest_'+numquest).fadeOut(200, function(){
if (cur_numbquest>=countquest) {
$("#finishtest").fadeIn(200);
} else {
$('#quest_'+(numquest+1)).fadeIn(200);
}
});
//quests[temp_number_quest]['id_quest'] = temp_id_quest;
quests[numquest]['id_var'] = idvar;
console.log("Text, example N="+numquest+", "+idvar+", "+idquest);
cur_numbquest++;
var post_data = JSON.stringify(quests);
if (cur_numbquest>=countquest){
var request = $.ajax({
type: "POST",
url: '/wp-content/plugins/votefe/www/php/ajax/addanswer.php',
dataType: "json",
data: "quests=" + post_data,
success: function(response)
{
for (var i=0;i<3;i++){
var html = response[i][0] + "<br />";
$("#finishtest").append(html);
}
}
});
}
}