listview javascript function

listview javascript function

my jquerymobile html5 application home page has a jquerymobile listview which links to another jquerymobile  web page - for example

<li><a style="background:#067ab4"; href="/page2.htm" >Go to page two</a></li>


The javascript functions on page2 do not seem to work unless I add target=_self to home page link

<li><a style="background:#067ab4"; href="/page2.htm" target=_self >Go to page two</a></li>




Is there a way to get jquerymobile page2.htm javascript functions to work without using target=_self ?