All Type Coding
ALLTYPECODING
HOME
C#
C#
ASP.NET
Submenu 2.5
Submenu 2.1
Submenu 2.1.1
Submenu 2.1.2
Submenu 2.1.3
Submenu 2.2
Submenu 2.2.1
Submenu 2.2.2
Submenu 2.2.3
Submenu 2.2.4
Submenu 2.2.4.1
Submenu 2.2.4.2
Submenu 2.2.4.3
Submenu 2.2.5
Submenu 2.2.6
Submenu 2.2.6.1
Submenu 2.2.6.2
INTERVIEW QUESTION
SQL INTERVIEW QUESTION
HR INTERVIEW QUESTION
C INTERVIEW QUESTION
.NET Questions/Answers
SQL SERVER
SQL SERVER
JavaScript
JavaScript Validation
JQuery Questions/Answers
Submenu 4.2.3
Submenu 4.2.4
Submenu 4.2.5
Submenu 4.2.6
Submenu 4.3
Submenu 4.4
Submenu 4.5
Submenu 4.6
PROGRAMS
SQL PROGRAMS
C# PROGRAMS
PROBLEMS/QUERIES
CONTACT US
Search Here
Submit
Numeric validation in javascript
function isNumber(e) {
var keynum;
keynum = e.keyCode ? e.keyCode : e.which;
if ((keynum > 47 && keynum < 58) || keynum == 98) {
return true;
}
else {
e.preventDefault();
alert('Please enter only numbers.');
return false;
}
}
No comments :
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments ( Atom )
No comments :
Post a Comment