Why is the data icon for jQuery mobile not showing?

I used a data icon in my code with a button, but the problem is that the icon is not displayed. it displays only a circle.

this is my html code

<a href="index.html" data-role="button" data-icon="delete">Remove</a> 
<a href="index.html" data-role="button" data-icon="plus">Add</a> 
<a href="index.html" data-role="button" data-icon="arrow-u">Up</a> 
<a href="index.html" data-role="button" data-icon="arrow-d">Down</a> 

I do not understand why this problem occurs, for all buttons that use the icon or automatically have an icon similar to

data-add-back-btn="true"

the back icon also does not appear, only the button with the text back

Can anybody help me? thank.

+5
source share
4 answers

Links do not turn into buttons unless you add an attribute data-role="button".

Form <input type="button" />and <input type="submit" />automatically turn into "Button Widgets" like tags <button></button>.

: http://jquerymobile.com/demos/1.1.0/docs/buttons/buttons-types.html

+3

"images" ( jQuery mobile folder). "images" , jquery.mobile.js jquery.mobile.css.

, , , . ...:)

+3

iPad. , , .

, . iPad. iPad.

. , , . , . jQuery mobile script , .

0

-, jQuery mobile Phonegap, images jQuery mobile css. Css-, , www.

, -.

0

All Articles