we use this:
document.onkeypress = documentKeypress;
function documentKeypress(e){
var key = general_getEventKeyCode(e);
if(key == 13){
search();//js action that calls document.formName.submit();
}
}
"LUCERO,DENNIS (HP-Boise,ex1)" <[EMAIL PROTECTED]> on 01/31/2003
05:13:22 PM
Please respond to "Struts Users Mailing List"
<[EMAIL PROTECTED]>
To: "' ([EMAIL PROTECTED])'"
<[EMAIL PROTECTED]>
cc:
Subject: submit using enter key
I have a form, that cannot have a submit button (unless there is some way
to
have it be hidden)
How to I get that form to submit when the enter key is pressed.
thanks
We come from the land of the ice and snow
With the midnight sun, where the hot springs glow
The hammer of the gods, will drive our ships to new lands
Fight the horde, Sing and cry
Valhalla I am coming
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]