I have a <input> with an onclick event which checks for the Enter key. The called function may do a window.location redirect.
However, when I press the Enter key, it apparently fires off the page validation. So I see the validation messages for a split second.
How can I tell the page not to fire any of the validation events when the focus is in that <input>?