Egads! You are quite right sir. And I had a book right next to me.
Thanks.

[EMAIL PROTECTED] wrote:
If I am correct the documentation states that the tag attribute styleId
will render  the html id.




Vincent Stoessel <[EMAIL PROTECTED]> on 10/25/2002 01:30:01 PM

Please respond to "Struts Users Mailing List"
       <[EMAIL PROTECTED]>

To:    Struts Users <[EMAIL PROTECTED]>
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>

Reply via email to