You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ha...@informatiefabriek.nl on 2003/10/07 10:01:11 UTC

Hi all,

How can I name a submit button. I need a name for it, because I want to 
access it from Javascript. I render the submit button as follows:

<html:submit styleClass="button" value="send!" onclick="closing=false; 
document.correctionForm.action='/advertentieoverzicht/store_correction.do';"
/>

This renders:

<input type="submit" value="send!" onclick="closing=false; 
document.correctionForm.action='/advertentieoverzicht/store_correction.do';" 
class="button">

But i need:

<input name="sendButton" type="submit" value="send!" 
onclick="closing=false; 
document.correctionForm.action='/advertentieoverzicht/store_correction.do';" 
class="button">

How can I achieve this?

Thank you very much,

Harm de Laat
Informatiefabriek
The Netherlands


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