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 pass data between pages using Cookies
write a code that user can choose/alter Body Text Size
program to show a progress bar
snippet to prevent submission of form when certain/any validations got failed
code to detect versions of different browsers like internet explorer, netscape, mozilla, opera etc
communication between main window and new windows
code to keep a page Out of the browser history
Create a Menu that can be activated while clicking on Right Mouse button
advance the focus to next consecutive fields when Enter Key is pressed
Create a ViewState Property?
determine which Element received an Event
code to images to rollover
how to convert between arrays and strings
code to detect availability of cookies
create Drop-Down Navigation Menus