Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
function ensureDigits(e) {
e = e || window.event;
var charCode = parseInt(e.keyCode);
var allowableCodes = [48,49,50,51,52,53,54,55,56,57,68,80,96,97,98,99,100,101,102,103,104,105,110,37,39,13,8,188,190,46,113,114,115,116,117,118,119,120,121,122,123, 67, 86];
$('log').update("Ensure Digits:" + charCode);
if (allowableCodes.indexOf(charCode) === -1) {
e.stop();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.