Modified the keypress handler so that it ignores keypresses on all form elements (<input>, <select> and <textarea>) instead of just on <input type="text"> elements (which is even more of a problem with HTML5's array of new <input> types).