Flash Games

 FAQ   Search   Members   Groups   Register  User Control Panel      Login 

Your time now:
Sat Nov 21, 2009 10:58 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ]  Bookmark and Share
Author Message
 Post subject: STOP BEEP SOUND WHILE SUBMITTING FORM
PostPosted: Tue Aug 18, 2009 9:36 am 
Offline

Joined: Tue Aug 18, 2009 8:41 am
Posts: 1
I have many controls on my form, when i use enter key to submit the form i get beep sound however submit works fine, please let me know how to stop that beep sound also i am not using type="submit", instead onclick is used when user clicks form gets submitted. While click no problem everything is fine but on ENTER key press beep sound comes.
Below is code i am using

function catchEnter(e)
{
if (!e) var e = window.event;
if (e.keyCode) code = e.keyCode;
else if (e.which) code = e.which;

if (code==13)
{
//alert(document.filterForm.from_date.value);
//return validateDate(document.filterForm.from_date);
if(validateDate(document.filterForm.from_date))
{
return SubmitPage('NU');
}
else
{
alert("false");
}
//alert(return validateDate(document.filterForm.from_date));
//document.forms[0].onsubmit = returnFalse;
//QuickSearch();
return true;
}
return ;
}


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group - Flash Games - TNX Invitation Code - TNX Review


Webmaster - Excruciating - Johnathan - Kotik - Ash - Tomi - rangana - Phate - dflynn - Medley