Remove default style from Jquery mobile

0

When I create an ul list with the listview attribute and place a link to href, the framework automatically dims the list element and places 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>
    
asked by anonymous 08.10.2015 / 14:05

1 answer

0

Use the data-icon="false" property, it deletes the icon.

There are other ways to do this, but I find this easier.

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

JsFiddle Example

    
08.10.2015 / 14:12