On simple forms with one text box pressing enter submits the form (and this is great for easy search forms)
However on a form with multiple fields, pressing Enter in an input="text" box won't do anything (e.g. submit) but in IE it "Dings" as if you have tried to delete an undeletable object.
The question is... what event do I need to suppress in IE to stop this sound? e.g. if I have a username/password form, I DO want the enter key to submit the form, but I certainly don't want the "error" sound.
Example site with the sound: http://www.sears.com/shc/s/StoreLocatorView?storeId=10153&catalogId=12605 Just press Enter in any of the text fields. Ding!, Ding!, Ding!
Non-IE users, the sound is the: Program Events > Windows > Default Beep ("Windows XP Ding.wav")
This works, we use it.
I guess that is controlled by OS & hence, it cant be controlled using javascript.
He is right. The text field you want, not to annoy you with ding song
only add
to you input tag
But don't do this in submit or button input ok. Only to the text fields, so you don't get annoyed by ding! ding! now. I checked.
Well it appears that this works: