I want to create a drop down button where we have values on the button itself. The button look similar to the standard salesforce menu list buttons.

Resolution

The below mentioned sample code can be used to create a drop down button where we have values on the button itself. This creates a button that is quite similar to the standard salesforce menu list buttons.