답변 1개 / 댓글 3개
채택된 답변
+20 포인트
Copy
$( "#breast" ).blur(function() {
if (this.val() && this.val() < 88)
alert( "88 이하." );
});
답변에 대한 댓글 3개
답변을 작성하려면 로그인이 필요합니다.
얼럿이 안떠서 보니 자바 에러 뜨는데 왜 그런지 모르겠습니다.
write.php?bo_table=order:2774 Uncaught TypeError: this.val is not a function
at HTMLInputElement.<anonymous> (write.php?bo_table=order:2774)
at HTMLInputElement.dispatch (jquery-1.8.3.min.js:2)
at HTMLInputElement.u (jquery-1.8.3.min.js:2)
if (this.val() && this.val() < 88)
이부분이 에러를 야기 시키는거 같습니다.