File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes options[i].style.color not working in Firefox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "options[i].style.color not working in Firefox" Watch "options[i].style.color not working in Firefox" New topic

options[i].style.color not working in Firefox

mudassir shahab
Ranch Hand

Joined: Oct 13, 2003
Posts: 54
i am trying to set color of a label in combo box using javascript....


its working fine in IE but not in FireFox...any clues ??
[ May 05, 2008: Message edited by: Bear Bibeault ]
Anirvan Majumdar
Ranch Hand

Joined: Feb 22, 2005
Posts: 261
It seems to be working fine for me on FF as well as IE. Can you post the code you've written down? Chances are that the error lies somewhere else and not in the part you've posted.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63868

Terminology correction: there is no such thing as a "combo box" on the web. Please read this for more information.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: options[i].style.color not working in Firefox
It's not a secret anymore!