在多步骤表单(php -ajax - jquery)的情况下,是否有可能在步骤2上从step1获得响应。目前,我得到了响应,但它阻塞了进程表单,并在phase1表单上进行了记录。精确度:我是ajax和jquery的初学者。
success : function(data){
if (data != 'passed') {
jQuery('#messages-errors').html(data);
}
if (data == 'passed') {
$(".frm").hide("fast");
$("#step2").show("slow");
$(".open1").css("display","none");
$(".open2").css("display","inline-block");
$("#check-ok").html(data);
}
},
error : function(){
alert('no working.'); }
});
}
});https://stackoverflow.com/questions/38267447
复制相似问题