I am using a custom selection menu from jQuery Mobile, and I would like to put icons in a custom popup menu to accompany each one option. I apply an attribute data-iconto each option, for example:
<select name='mySelect' id='mySelect' data-icon='gear'>
<option value='0' data-icon='star'>Option 0</option>
<option value='1' data-icon='star'>Option 1</option>
<option value='2' data-icon='star' selected="selected">Option 2</option>
</select>
FWIW, I already checked that my custom icons work in the select button itself. Am I just completely wrong in expecting the appearance of icons in the user menu?
source
share