JavaScript Tutorial/Global/isFinite

Материал из Web эксперт
Версия от 11:24, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

Global.isFinite()

The isFinite() method is used to determine if a variable has finite bounds.



   <source lang="javascript">

<html>

   <body>
   <script lanuguage="JavaScript">
   
   </script>
   <form name="form1">
   Enter a number or character into the text box and then click the check value
   button to verify if the input is a number.
   

<input type="text" name="text1" size=3>

<input type="button" value="Check value" onClick="checkNum()">
</form> </body> </html></source>