Re: html:select in firefox

2008-09-18 Thread Jeffrey Born
tribution 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:sele

RE: html:select in firefox

2008-09-18 Thread Martin Gainty
400 > 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 JavaScrip

Re: html:select in firefox

2008-09-18 Thread Antonio Petrelli
2008/9/18 Jeffrey Born <[EMAIL PROTECTED]>: > 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? Use the "styleId" attribute of Ciao Antonio --

html:select in firefox

2008-09-18 Thread Jeffrey Born
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