try styleId, and check http://jakarta.apache.org/struts/userGuide/struts-html.html for further questions
-- Voytek Jarnot Quidquid latine dictum sit, altum viditur. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 06, 2003 11:49 AM > To: [EMAIL PROTECTED] > Subject: Javascript use of ID > > > Hi, > > My client browser in IE. So javascript needs ID in the tags like > > <input type=button id=clickme value="clicked" onclick="fnSwitch()"> > > and the javascript would be something like > > function fnSwitch(){ > clickme .disabled=false; > } > > > But when <html:text> or <html:button> tag does not allow id > how do I do the > samething?? > > Regards > Rajesh J > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]