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 Android Security Essentials Live Lessons this week in the Android 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: 60799

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]
Don't get me started about those stupid light bulbs.
subject: options[i].style.color not working in Firefox
Similar Threads
Cookies Max Age problem
Font color in drop down menu
radio button not working properly, list is sorted for every two clicks
clear browser cache
why do code tags miniaturize the code?