struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Stoessel <vinc...@xaymaca.com>
Subject Re: a little javascript problem
Date Fri, 25 Oct 2002 18:43:26 GMT
Egads! You are quite right sir. And I had a book right next to me.
Thanks.

Jeff_Mychasiw@nlgroup.ca wrote:
> If I am correct the documentation states that the tag attribute styleId
> will render  the html id.
> 
> 
> 
> 
> Vincent Stoessel <vincent@xaymaca.com> on 10/25/2002 01:30:01 PM
> 
> Please respond to "Struts Users Mailing List"
>        <struts-user@jakarta.apache.org>
> 
> To:    Struts Users <struts-user@jakarta.apache.org>
> cc:
> 
> Subject:    a little javascript problem
> 
> 
> Uh oh, it seems I can't use the 'id' attribute in html:* form elements.
> 
> I need to do this in a form element :
> onClick="disableIt(document.getElementById("myID"))
> 
> but I cannot do this on the target form element.
> 
> <html:checkbox property="boo" id="myID">
> because that violates the DTD, I guess.
> 
> Any workarounds?
> 
> 
> 
> 
> 
> 
> --
> Vincent Stoessel
> Linux Systems Developer
> vincent xaymaca.com
> 
> 
> --
> To unsubscribe, e-mail:   <
> mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <
> mailto:struts-user-help@jakarta.apache.org>
> 
> 
> 
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


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


Mime
View raw message