struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff_Mycha...@nlgroup.ca
Subject Re: a little javascript problem
Date Fri, 25 Oct 2002 18:32:50 GMT

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>


Mime
View raw message