Remove default Jquery mobile style

Asked

Viewed 66 times

0

When I create a list ul with the listview attribute and place a link to href, automatically the framework darkens the element from the list and puts an icon at the end. How can I remove this default behavior ?

            <ul data-role="listview">
                <li>Jquery</li>
                <li><a href="#">teste</a><HTML</li>
                <li>CSS3</li>
            </ul>

1 answer

0


Use the property data-icon="false", she eliminates the icone.

There are other ways to do this, but I consider this the easiest.

<ul data-role="listview" data-icon="false">
                <li>Jquery</li>
                <li><a href="#" >teste</a><HTML</li>
                <li>CSS3</li>
</ul>

Jsfiddle example

Browser other questions tagged

You are not signed in. Login or sign up in order to post.