struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Stoessel <vinc...@xaymaca.com>
Subject a little javascript problem
Date Fri, 25 Oct 2002 18:30:01 GMT
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>


Mime
View raw message