컴퓨터

웹코딩들

하늘치 2008. 2. 20. 09:56
반응형
ID중복체크
----------------------------------------------------------------

function IDCheckNewWindow()
{
 var url="dic.asp",arg=""; //변수에 자료값을 초기화

 if(document.regist.nid.value=="")
 {
 alert("아이디를 입력하시고 \n 아이디 중복확인버튼을 눌러주세요.");
 document.regist.nid.focus();
 return;
 }
 else
 {
 arg="?id="+document.regist.nid.value;
 var win=window.open(url+arg,"IdTestWin","width=300,height=153,resizable=1,location=0.toolbar=1");
 }
}




=========================================================================





반응형