ns66:
One thing occurs, and this is just a shot in the dark, but the
var keyCode = part.key.charCodeAt(0);
line may be consuming that character, thus not passing it on to the doDigit function.
Try adding
var keyCode2 = part.key.charCodeAt(0);
just above
var keyCode = part.key.charCodeAt(0);
and see if it still works when you have e>10
|