#2
apull2022-07-24 12:51
|
程序代码:
function nameCheck(){
var uname =document.getElementById("uname");
var span =document.getElementById("uname_span");
if(uname=null||uname==""){
span.innerText="错误输入";
return false;
}else{
span.innerText="正确输入";
return true;
}
}