Disable onkeypress function
<p>I am using onkeypress to work with a custom mask and I manually insert the character pressed. What happens though is that I find when i press 'a' two 'a' characters appear. one where I want it and one after the mask. Is there a way to disable the regular function of onkeypress so that it does not write a character to the textbox? This is for a custom mask that I am making for all texxtboxes of this type to have.</p>
