메일 주소 검사하기 체크박스 입니다.

· 10년 전 · 188

function Chk_Email(type) {
 
 var obj_email = document.form.email;
 var struserid = document.form.userid;
 var mailcheck = document.form.mailcheck;
 var tail
   
 if(mailcheck.checked){
  tail = "@kma.or.kr";
        if(struserid.value != ""){
            obj_email.value = struserid.value + tail;
        }else{
            alert('아이디를 입력해주세요');
            struserid.focus();
            mailcheck.checked = false;
          return false;
        }
    }
 else{
        obj_email.value = "";
    }
 return true;

|
댓글을 작성하시려면 로그인이 필요합니다.

팁게시판

디자인과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
제목 글쓴이 날짜 조회
10년 전 조회 379
10년 전 조회 259
10년 전 조회 265
10년 전 조회 251
10년 전 조회 244
10년 전 조회 196
10년 전 조회 195
10년 전 조회 225
10년 전 조회 217
10년 전 조회 187
10년 전 조회 150
10년 전 조회 238
10년 전 조회 189
10년 전 조회 205
10년 전 조회 190
10년 전 조회 259
10년 전 조회 161
10년 전 조회 171
10년 전 조회 228
10년 전 조회 198
10년 전 조회 262
10년 전 조회 238
10년 전 조회 174
10년 전 조회 159
10년 전 조회 208