struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
Subject Re: Javascript use of ID
Date Thu, 06 Mar 2003 17:54:06 GMT
The name attribute works the same as id for javascript.

David



>From: Rajesh.Jayabalan@lazard.com
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: struts-user@jakarta.apache.org
>Subject: Javascript use of ID
>Date: Thu, 6 Mar 2003 12:48:31 -0500
>
>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


_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
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