Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How to test for bad numbers using JavaScript?
How to test for bad numbers using JavaScript?
✍: Guest
The global method, "isNaN()" can tell if a number has gone bad.
var temperature = parseFloat(myTemperatureWidget.value);
if(!isNaN(temperature)) {
alert("Please enter a valid temperature.");
}
2009-02-25, 4631👍, 0💬
Popular Posts:
How To Escape Special Characters in SQL statements? - MySQL FAQs - Introduction to SQL Basics There ...
Can you explain in brief how can we implement threading ? Private Sub Form1_Load(ByVal sender As Sys...
What is V model in testing? V model map’s the type of test to the stage of development in a project....
How can I search for data in a linked list? Unfortunately, the only way to search a linked list is w...
How To Set Background to Transparent or Non-transparent? - CSS Tutorials - HTML Formatting Model: Bl...