hi jeff- id is a standard html attribute http://www.w3schools.com/TAGS/ref_standardattributes.asp what behaviour would you expect when the id is null ? Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.
> Date: Thu, 18 Sep 2008 11:02:27 -0400 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: html:select in firefox > > I'm trying to use a JavaScript function getElementById to access the > selectedIndex property of an HTML select tag that is generated via a > struts html:select tag. The JavaScript function is failing because > the Id attribute is missing. IE works with the name attribute which > is generated. > > I'm using struts 1.1. > > I could override the html:select tag to output an Id attribute, but > there has to be a more elegant solution to this? Or it was solved > some other way? > > Any tips would be greatly appriciated. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Stay up to date on your PC, the Web, and your mobile phone with Windows Live. http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/