js 양식 검증

5566 단어 양식 검증
function one() {

var group = document.getElementById("group").value;

if(group == ""){alert(" "); return false;}

var ss = document.getElementById("ss").value;

if(ss == ""){alert(" "); return false;}

var sss = document.getElementById("sss").value;

if(sss == ""){alert(" "); return false;}



}





function two(){

var name = document.getElementById("name").value;

if(name == ""){alert(" "); return false;}

var psw = document.getElementById("psw").value;

if(psw == ""){alert(" "); return false;}

var number = document.getElementById("number").value;

if(number == ""){alert(" "); return false;}

var groups = document.getElementById("groups").value;

if(groups == ""){alert(" "); return false;}

var gss = document.getElementById("gss").value;

if(gss == ""){alert(" "); return false;}

var gsss = document.getElementById("gsss").value;

if(gsss == ""){alert(" "); return false;}



}





function three(){

var upname = document.getElementById("upname").value;

if(upname == ""){alert(" "); return false;}

var uppsw = document.getElementById("uppsw").value;

if(uppsw == ""){alert(" "); return false;}

var upnumber = document.getElementById("upnumber").value;

if(upnumber == ""){alert(" "); return false;}

var upgroup = document.getElementById("upgroup").value;

if(upgroup == ""){alert(" "); return false;}

var upss = document.getElementById("upss").value;

if(upss == ""){alert(" "); return false;}

var upsss = document.getElementById("upsss").value;

if(upsss == ""){alert(" "); return false;}

}

 
 

 
이와 같이 유추하다

좋은 웹페이지 즐겨찾기