PDA

View Full Version : how to avoid beep noise


ksridhar69
10-01-2002, 06:50 PM
I am using this function. When the user presses the Ctrl+M it is giving beep noise. How to avoid this. They don't want any beep noise

function doAction()
{
if (!window.event.ctrlKey)
return;

switch (event.keyCode) {

case 13:
//alert("Ctrl-M Pressed ");
document.testform.c1.focus();
break;


}
}

mordred
10-01-2002, 11:55 PM
I can't reproduce this beep. In which kind of scenario do you employ the doAction() function?

chrismiceli
10-02-2002, 01:54 AM
i think he is referring to the windows operating system beep when any alert comes up, i don't think there is an way to get rid of it because it is in the operating system

whammy
10-02-2002, 02:03 AM
You have to depend on the user to customize their alert noise. So either don't alert them, or live with it basically...