struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raible, Matt" <Matt_Rai...@cable.comcast.com>
Subject RE: Javascript use of ID
Date Thu, 06 Mar 2003 18:12:59 GMT
You can use the styleId attribute of the form-related tags to render an "id"
element on a form.

> -----Original Message-----
> From: Rajesh.Jayabalan@lazard.com [mailto:Rajesh.Jayabalan@lazard.com]
> Sent: Thursday, March 06, 2003 10:49 AM
> To: struts-user@jakarta.apache.org
> Subject: Javascript use of ID
> 
> 
> Hi,
> 
>  My client browser in IE.  So javascript needs ID in the tags like
> 
> <input type=button id=clickme  value="clicked" onclick="fnSwitch()">
> 
> and the javascript would be something like
> 
> function fnSwitch(){
>   clickme .disabled=false;
> }
> 
> 
> But when <html:text> or <html:button>  tag does not allow id 
> how do I do the
> samething??
> 
> Regards
> Rajesh J
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


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


Mime
View raw message