Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New Coder
    Join Date
    Jul 2004
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Change Background Color in Drop Box

    This works in Explorer, namely setting a background color at one specific option value, but How-To make work this in Mozilla and Opera? ...

    Code:
    document.forms[1].field_name.options[0].style.backgroundColor="#EF6D3A";
    It's not a must to change a specific option background color as is done in above line. I will be happy if, at least, is changed the drop box background color at IE, Mozilla and Opera, anyway to change it on a specific option value could be very good.

    Thank you very much in advance

    Mapg
    Last edited by mapg; 09-14-2004 at 03:01 PM.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •