I have a jquery mobile website that has a back button on every page except the first page. The back buttons should, as I understand them, take me back exactly one page ...to the page i was on before...HOWEVER, when I click the back button sometimes it will take me to the very first page (when i am three or four pages in) and other times it will take me back 2 pages.
<a href="#" data-rel="back" class="ui-btn-left ui-btn ui-icon-back ui- btn-icon-notext ui-shadow ui-corner-all" data-role="button" role="button">Back</a>
What am i doing wrong?