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

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -