You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Deepika Malik <de...@patni.com> on 2002/05/22 23:33:48 UTC

RE: why no styleId for html-el:image?

Please tell me how will i disable a textbox 
<html:text  property="accountNo" size="10" maxlength="16"/>
without a name on click of radio button.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: why no styleId for html-el:image?

Posted by Gemes Tibor <ge...@regens.hu>.
2002. május 22. 23:33 dátummal Deepika Malik ezt írtad:
> Please tell me how will i disable a textbox
> <html:text  property="accountNo" size="10" maxlength="16"/>
> without a name on click of radio button.

It will have the name of the assigned "property". But if you had look into the 
generated html you would have found it out yourself.

So you can reference it as document.forms.0.accountNo

Hth,

Tib

Ps. Don't forget, that the disabled fields' values are not sent by the 
browser.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>