I have several menu options in jQuery Mobile 1.1. I know that the default behavior is to display the selected items and number after selecting the item (s) and closing the menu.
My question is that I would prefer to always display the first item and the number of NOTs of the selected items. For example, if I have a menu:
<select name="color-choice" id="color-choice" data-mini="true" multiple="multiple" data-native-menu="false" >
<option>Color Choices</option>
<option value="red">Red</option>
<option value="blue">Blue</option>
<option value="green">Green</option>
</select>
And the user selects red and green colors, I want the selection menu to indicate "Select color (2)" instead of the standard "red, blue (2)".
This is to save space, since I have several menus and you want to do without labels, and ask the user to immediately see that the menu is a “color choice” and that they have moves 2.
Possible?