jQueryMobile: Hide data-icon for anchor tag

Ian Vink picture Ian Vink · Feb 26, 2012 · Viewed 24.2k times · Source

jQueryMobile:

In a simple listview I have the following:

<li><a>SOME TEXT</a></li>

A data-icon of right arrow is displayed.

How do I have no data-icon displayed at all?

Answer

Ryan picture Ryan · Feb 26, 2012

Just add data-icon="false", i.e.

<li data-icon="false"><a>SOME TEXT</a></li>