title: onkeyup char position in string
body: <p>How does one find the position of the character being entered into the string on keypress using JavaScript? I am trying to build an input mask and the user should not be allowed to input more than 13 characters.</p>