Code for Timer run on Website and Texbox validation only numeric are allowed.
Validation for Text Box , Only numeric are allowed, ------------------------------------------------------------------------ function validation_Id(event) { var key = event.keyCode || event.which; var keychar = String.fromCharCode(key); var pattern = /^[0-9]+$/; if (key == 8 || key == 9 || key == 13 || key == 27 || key == 46 || (key >= 96 && key <= 105) || (key >= 35 && key <= 40) || pattern.test(keychar) && !event.shiftKey) { // Allow backspace, tab, enter, escape, delete, arrow keys, and numeric input return true; } else { ...