jquery mobile use data icons in help text -


i have jquery mobile app users presented several lists of items. each item has data-icon. user can add item own list tapping item's 'plus' data-icon, changes 'check' in turn can toggled 'plus'.

i explain in text says "tap [plus] ... , change [check]..." , have appropriate icons show in-line have brackets not know how tell jqm this.

i kludging @ moment putting text in list make icons show there more text list approach not suitable.

edit: current code:

markup = '<ul data-role="listview" data-inset="true" data-filter="false" '          + 'id="l_' + categoryname + '" data-autodividers="false" >'          + "<li ><a href='#' data-icon='plus'>to add section "          + "tap plus: </a><a href='#' data-icon='plus'></a></li>"          + "<li><a href='#' data-icon='check'>to remove section tap check:"          + "</a><a href='#' data-icon='check'></li>"          + "</ul>" 

but when add div other explanation page, jqm makes every element in div (h3, p) link!


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -