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

Colour Dropdown



I wants to create a dropdown with colour option styles.


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??







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?