发布网友
共3个回答
热心网友
1、应该是这样 document.getElementById(""),注意这个I
2、空的话直接 obj = "";就可以了
热心网友
function check11(){
var send_person =document.getElementByid("send_person").value;
if(send_person == "")
document.getElementByid("send_date").value="";
}
热心网友
function check(){
var send_person =document.getElementByid("send_person").value;
if(send_person=null||send_person=="") {
var obj=document.getElementByid("send_date");
obj.value="";
}
}