struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: submit form
Date Mon, 18 Jul 2005 20:30:26 GMT
Sergey try
<html:button property="submit" text="submit" value="submit" onkeydown = 
"javascript:testKeyCode(evt)" onclick = "javascript:testKeyCode(evt)" />

<head>
<script language="javascript">
testKeyCode(evt)
{
evt.charCode ? evt.charCode : evt.which;
if (evt.charCode=='S')
{
if (evt.ctrlKey)
{
document.formName.action="FullyQualifiedLocationOfPlaceToHandleQueryString";
document.formName.submit();
}
}
}

Martin-
----- Original Message ----- 
From: "Sergey Livanov" <sergey.livanov@gmail.com>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Monday, July 18, 2005 3:36 PM
Subject: submit form


>
> How can I submit html:form by pressing CTRL+S ?
>
>
> -- 
> regards,
> Sergey                          mailto:sergey.livanov@gmail.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message