jquery mobile #someLink not working in android browser

jquery mobile #someLink not working in android browser

i am creating a basic html5 jquery mobile webpage that uses 3 jquery mobile pages where users can navigate to depending on the href they click on.

in the safari and google chrome web browser this feature works perfect i.e it will load the correct page using:

  1.    <li>
  2.         <h3>Type:</h3>
  3.         <h4><a href="#itemTypeList" data-role="button" data-icon="arrow-r" data-iconpos="right">Select Type</a></h4>
  4.       </li>

In this case it will load #itemTypeList page that is inside the same html5 file as the above code that invoked the web request call.


For some bizare reason this call does work on an android webview. It never displays or even attempt to display the #itemTypeList page

here is the itemType page

  1.    <div data-role="page" id="itemTypeList">
  2.       <div data-role="header" data-inset="true" data-position="fixed" data-theme="b" > <a href="" onclick="history.back(-1); return false;">Back</a>
  3.         <h1>Item type</h1>
  4.       </div>
  5.       <div data-role="content">
  6.         <ul data-role="listview" data-inset="true"  data-scroll="true" id="itemtypeList">
  7.           <li><a href="hello1.html">hello 1</a></li>
  8.           <li><a href="hello2.html">hello 2/a></li>
  9.         </ul>
  10.       </div>
  11.     </div>
  12.     </div>

And here is the original content page that gets displayed initially

  1.     div data-role="page" id="mainPage">
  2.       <div data-role="header" data-inset="true" data-position="fixed" data-theme="b" > <a href=""  onclick="history.back(-1); return false;">Back</a>
  3.         <h1><span style="margin-left:1em">Item Detail</span></h1>
  4.       </div>
  5.       <div data-role="content">
  6.         <ul data-role="listview" id="itemFieldslist" data-inset="true"  data-scroll="true" >
  7.           <li data-role="list-divider">
  8.             <h2>Item Detail Title</h2>
  9.           </li>
  10.           <li>
  11.             <h3>Type:</h3>
  12.             <h4><a href="#itemTypeList" data-role="button" data-icon="arrow-r" data-iconpos="right">Select Type</a></h4>
  13.           </li>
  14.           <li>
  15.             <h3>Some Field</h3>
  16.             <h4>e3e3e3e</h4>
  17.           </li>6
  18.         </ul>
  19.       </div>
  20.     </div>

Thanks