I'm trying to update my JQM app from 1.3 to 1.4, and on some element, data-enhance="false" doesn't work anymore… The elements remains enhanced…
jsfiddle : http://jsfiddle.net/matthieubrunet/RB9Qw/
<div data-role="page" id="home">
<div data-role="header">
<h1>JQM 1.4.3</h1>
</div>
<div data-role="content">
<label for="yes">Yes</label>
<input type="checkbox" name="yes" id="yes" data-enhance="false" />
</div>
</div>
I tried to activate the ignoreContentEnabled option, but it doesn't work :
$( document ).on( "mobileinit", function() {
$.mobile.ignoreContentEnabled = true;
});
Is it a bug, or am I missing something ?
Thanks a lot for your help.