event.preventDefault() and event.stopPropagation
readonly
readOnly
true
false
onkeydown="return isNumberKey(event,this)"
function isNumberKey(evt, obj) { var charCode = (evt.which) ? evt.which : evt.keyCode if (charCode == 8 || charCode == 46) return false; return true; }
function onkeyup(e) { var code; if (!e) var e = window.event; if (e.keyCode) code = e.keyCode; else if (e.which) code = e.which; if (keycode == 8 || keycode == 46) return false; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)