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);
}
}
});
}
}
答案 0 :(得分:1)
如果对该删除此行的响应感兴趣
console.log(“Text,example N =”+ numquest +“,”+ idvar +“,”+ idquest);