I am not sure if there's better idea than writing your own JavaScript to do that......
Stanislav <[EMAIL PROTECTED]> : Hi! That is fine if i want to set bgcolor to ALL text, but i want to set different bgcolor for different choices in drop down menu. Tnx, Stanislav ----- Original Message Follows ----- > maybe css would be one solution, edit your css class, and use "styleClass" > attribute to ref it > > > > Stanislav 写道: Hi! > > I want to set background color in drop down menu that is generated with > html:options collection. > Is there any way to do that? > > Here is code sample: > > > > > > Tnx, > Stanislav > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------- > 雅虎免费邮箱-3.5G容量,20M附件 > 雅虎助手-搜索、杀毒、防骚扰 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- 抢注雅虎免费邮箱-3.5G容量,20M附件!