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();
}
}

Read this thread.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.