When the HTMl page is rendered on screen, all the struts controls are
rendered as normal HTMl controls. So u can refer them as document.forms
[0].cadenaDesdeText.value.
On 3/29/06, Jose Maria Tristan <[EMAIL PROTECTED]> wrote:
>
> Hi:
>
> I have a text: <html:text property="cadenaDesdeText"
> maxlength="10"/>.
> I need use this control in a function of javascript.
> Por example
> function showText(){
> alert(cadenaDesdeText);
> }
> How can i use any control of struts into a function? How i can
> refer to the
> name of the control?
>
> Thank you.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>