jQuery 유효성 검증

Lucy ·2024년 7월 9일

유효성 검증 코드

 $(function(){
		$("#check").click(function(){

			if($("#userid").val() == 0){
				$("#result").text("아이디를 입력하세요.");
				return;
			}
		});
	});

profile
비전공자의 개발일기

0개의 댓글