user486480
user486480

Reputation: 183

Jquery pretty checkboxes on jquery mobile?

Hi I love these pretty checkboxes:

and have implemented them in my site. Unfortunately when I try to integrate them with jquery mobile, they lose their look and feel.

as soon as I try to include

link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.css" /

either before or after my inline css, the effect is ruined. How can I fix this? thanks!

Upvotes: 1

Views: 274

Answers (1)

Apostolos Emmanouilidis
Apostolos Emmanouilidis

Reputation: 7197

If you'd prefer that a particular form control be left untouched by jQuery Mobile, simply give that element the attribute data-role="none". So you have to add the attribute data-role="none" on the input type checkbox tag and the problem will be fixed.

I hope this helps.

Upvotes: 0

Related Questions