Ram Babu
Ram Babu

Reputation: 2862

jQuery Mobile Icons not showing in Android 2.3

I am using jQuery Mobile of version 1.4.2 and used the following code to show an icon

<button data-icon="home" data-iconpos="notext"></button>

This is working properly in Android 4.0 and in Firefox Browser but not in Android 2.3

Upvotes: 0

Views: 739

Answers (2)

Thando Zondo
Thando Zondo

Reputation: 51

If you are hosting files locally you should use:

jquery.mobile.icon-1.4.3.min.css

You should also use the Image folder.

Upvotes: 0

Aravin
Aravin

Reputation: 4108

I tried your code it is working fine in my android device v 2.3.6. If you still feel it is not working please try this one. Use class="ui-icon-home" instead of data-icon="home". It is added new version of JQM(1.4.2)

<button class="ui-btn ui-icon-home ui-btn-icon-notext"></button>

Upvotes: 3

Related Questions