Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
mudassir shahab
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i am trying to set color of a label in combo box using javascript....

options[i].style.color="red"

its working fine in IE but not in FireFox...any clues ??
[ May 05, 2008: Message edited by: Bear Bibeault ]
 
Anirvan Majumdar
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Terminology correction: there is no such thing as a "combo box" on the web. Please read this for more information.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic