learn java
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

Win a copy of The Software Craftsman this week in the Agile forum!
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: 62317

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

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
wood burning stoves
subject: options[i].style.color not working in Firefox