function submitForm(){
show("tst1",2000);
var result =
submitAjaxForm('form1','afterSubmit');
}
function
afterSubmit(result){
hide("tst1");
if (result=='OK') {
show("tst2");
location="upload.htm";
}
else{
show("tst3",2000);
}
}按照这个代码,还有案例测试的时候,直接页面显示了OK,没有跳转到upload.htm,啥情况。。。