Beep when I hit Enter on Form
Posted on 2002-06-22
<input type="text" ....>
When I position the cursor on the text box of the form and hit enter, the IE 5.5 generates a BEEP. Its not your standard 'click' sound, its like an error beep.
The reason is because I do NOT have an input="submit" or input="image" form element. Its as if the browser if trying to respond to the enter key press event by submitting the form for me, but cant find a form element that would be responsible for performing a submit action (ie: a submit or an image element)
The problem?...the beep is really annoying!!...can anyone suggest a way of getting rid of it.....maybe cancelling the event?...
I have tried event.cancelBubble=true for the keyPress, keyUp and KeyDown events, but no joy.
Any help or suggestions appreciated