How can I implement anchors in page navigation in Jquery Mobile

How can I implement anchors in page navigation in Jquery Mobile

Hallo All,
If I am on page1.html and I want to load  page2.html  in a specific part of the page using anchors, how can I achieve that. Because using this link <a href=page2.html#anchorname> will not since its looking for a page called anchorname.

Thanks in advance.