Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jQueryMobile: Hide data-icon for anchor tag

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?

like image 475
Ian Vink Avatar asked Feb 26 '12 00:02

Ian Vink


2 Answers

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

<li data-icon="false"><a>SOME TEXT</a></li> 
like image 195
Ryan Avatar answered Oct 02 '22 22:10

Ryan


the easiest is to remove the right class $("li>a").removeClass("ui-btn-icon-right");

like image 41
tbo47 Avatar answered Oct 03 '22 00:10

tbo47