<script language="javascript" type="text/javascript"> function isNumeric(CHECK_CHAR){ return !isNaN(CHECK_CHAR); } </script>a sample example will be something like this...
<script language="javascript" type="text/javascript"> alert(isNumeric("1130")); //true alert(isNumeric("-17")); //true alert(isNumeric("460G")); //false </script>
0 comments:
Post a Comment