validation code / function to allow only NUmbers in a text box
Answer Posted / satish reddy
function isNumeric(keyCode)
{
if(keyCode==16)
isShift = true;
return ((keyCode >= 48 && keyCode <= 57 || keyCode ==
8 ||
(keyCode >= 96 && keyCode <= 105)) && isShift
== false);
}
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
how to copy form data between different pages
Create a ViewState Property?
how to create a Custom Scrollbar
How to encode and decode URL strings?
snippet to prevent submission of form when certain/any validations got failed
how to get the User's Time of Day
program to bring a window to the front
code to create a new window
write a code to generate pseudorandom numbes
I have a doubt regarding including tags in a function. I have written a function in javascript in a html page. The function got called by clicking a button, i want to display the results in same html page by placing tags in the function. (this hmtl page is static page) Is this possible? example: