以下内容是专门发给有点蓝浏览
问题在zd_guanyuan和receive两个函数里
function test(id,value) {
//console.log(id + ',' + value);
let obj = {id:id,value:value};
if(value!="")
{
var result = sendAjaxJSON(obj,"getSr.htm","",false);
document.getElementById("p1").innerHTML=result;
}
}
function testcancel(id) {
//console.log(id);
document.getElementById("p1").innerHTML="";
}
//图片上传
function submitForm(){
show("tst1",2000);
var result = submitAjaxForm('form2','afterSubmit');
}
//为了增加检疫要求保存,增加了form5,其余用法不变
function submitForm1(){
show("tst1",2000);
var result = submitAjaxForm('form5','afterSubmit');
}
function afterSubmit(result){
hide("tst1");
if (result=='OK') {
show("tst2",500);
//location="upload.htm";
}
else{
show("tst3",2000);
}
}