•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 455,976 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,797 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 2719 | Replies: 1
![]() |
•
•
Join Date: Nov 2007
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
Hi friends my form contains two submit buttons one is for back button
and another is for submit button when the user press enter in any textbox
the submit button will be .I wrote a javascript its working fine in IE
but not in FireFox please help me
///////////
document.onkeyup = KeyCheck;
function KeyCheck(e)
{
var KeyID = (window.event) ? event.keyCode : e.keyCode;
if(KeyID==13)
{
document.getElementById("ff").disabled=true;
document.getElementById("ss").focus();
document.getElementById("ss").click();
}
}
and another is for submit button when the user press enter in any textbox
the submit button will be .I wrote a javascript its working fine in IE
but not in FireFox please help me
///////////
document.onkeyup = KeyCheck;
function KeyCheck(e)
{
var KeyID = (window.event) ? event.keyCode : e.keyCode;
if(KeyID==13)
{
document.getElementById("ff").disabled=true;
document.getElementById("ss").focus();
document.getElementById("ss").click();
}
}
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
ajax asp beta bon browser browsers browsing developer development echo email encryption europe firefox gecko home html internet internet explorer internet explorer 7 javascript leak linux memory microsoft mozilla msdn networking news office open source open-source patch phishing scams security site social software sql super testing users vista web webmail
- Previous Thread: how to delete old session value
- Next Thread: javascript date handler



Linear Mode