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

· 10년 전 · 191

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년 전 조회 383
10년 전 조회 263
10년 전 조회 268
10년 전 조회 256
10년 전 조회 248
10년 전 조회 200
10년 전 조회 198
10년 전 조회 226
10년 전 조회 217
10년 전 조회 190
10년 전 조회 151
10년 전 조회 242
10년 전 조회 192
10년 전 조회 210
10년 전 조회 196
10년 전 조회 262
10년 전 조회 165
10년 전 조회 172
10년 전 조회 229
10년 전 조회 203
10년 전 조회 262
10년 전 조회 239
10년 전 조회 176
10년 전 조회 160
10년 전 조회 209