I am creating my first project with Jquery mobile. I have two pages Page_A.html and Page_B.html.
My code is the following in Page_A.html:
<a href="Page_B.html#anchor1">Link1</a>
and in Page_B.html:
<div id="anchor1">Some content here</div>
When I click Link1 in Page_A the link takes me to Page_B and momentarily shows the correct content of the div with the id "anchor1". However after a second or so something happens and it looks like the page reloads itself and the viewer sees the top of the page. What am I doing wrong?