function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFDC_nkmSFDC_nkm 

Colour Dropdown

 

Hi,

I wants to create a dropdown with colour option styles.

 

http://pietschsoft.com/post/2004/09/Color-the-background-of-items-in-a-Dropdown-box-in-your-HTML-pages.aspx

 

I want the above functionality in Visualforce page.

I am showing some products in Dropdown list.I have the 3 Options,One is for New product is Grren background colour option in dropdown.Old product is Yellow.& No stock for that product shown in Red colour.

 

How to do this functionality??

 

Thanks,

Nkm.

 

 

TehNrdTehNrd

Does your picklist only have three options or many options where some of those may be green, yellow, or red. Can you post the Visualforce markup you have for this pickist?