struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eddie Bush <ekb...@swbell.net>
Subject Re: a little javascript problem
Date Fri, 25 Oct 2002 18:41:36 GMT
try styleId="myID" id is used for other things, as you've discovered ...

Vincent Stoessel wrote:

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


-- 
Eddie Bush




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