숫자인지 확인1 jQuery.isNumeric(), 숫자인지 확인 jQuery.isNumeric() 원문 링크 http://api.jquery.com/jQuery.isNumeric/ jQuery.isNumeric( value )Returns : Boolean 개요 : 인자가 숫자인지 판별합니다. jQuery.isNumeric( value ) value 숫자인지 확인할 인자 $.isNumeric() 함수는 인자가 숫자 값인지 확인합니다. 숫자라면 true. 아니라면 false를 반환합니다. 인자는 뭐든지 사용가능합니다. 예 제 소스닫기 다양한 값들을 체크해 봅니다. $.isNumeric("-10"); // true $.isNumeric(16); // true $.isNumeric(0xFF); // true $.isNumeric("0xFF"); // true $.isNum.. 2012. 7. 2. 이전 1 다음