I have this code:JqueryMobile和Android 4.0 <a href="page1.html"... don´t work.
$('#list').append('<li><a href="page1.html?id=1" data-transition="pop"><h3>Title</h3><p>Description</p></li>');
It's working fine in Android 2.3.. but in Android 4.0.3 I get "error loading page".
I'm using phonegap 1.3 and jquery mobile.
page1.html is a local file in assets/www/page1.html
This is the Index.html code:
<div data-role="page" id="idpage">
<div data-role="header">
<h1>Tittle</h1>
</div>
<div data-role="content">
<ul id="list" data-role="listview" data-filter="false" data-filter-theme = "a" ></ul>
</div>
<div data-role="footer">
<h1>Footer</h1>
</div>
</div>
Thanks and sorry for my English.
您使用的是什麼版本的jQMobile?我正在使用PhoneGap 1.5和jQMobile 1.0.1,並且頁面導航工作正常。 – codemonkey 2012-03-19 14:21:27