You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by someil <cy...@intech.lu> on 2001/06/05 10:49:08 UTC
multiple submit
Hi,
In a jsp page,
I would like to use several images such as submit button;
and on "onClick" event, change the value of an input tag <html:hidden
property="option" value=""/>
How can I do ???
I try to use a JavaScript function that I call on "onClick" event:
function subWithOption(s){
with (window.document.forms[0]){
option.value = s;
submit();
}
}
but no success ...
Thanks for yours response.
- Cyril -