Here is my page format, it is in same page
<!-- login page-->
<div id="login">
<!-- login page content -->
</div>
<!-- registration page content -->
<div id="registrationMenu" data-position="inline">
<div id="registrationInner" style="display:none;">
<div data-position="inline" data-role="header"
data-add-back-btn="true" class="ui-header ui-bar-a"
role="banner">
<a href="#login" data-icon="delete" >Back</a>
<h1 class="ui-title" role="heading" aria-level="1">Registration</h1>
</div>
</div>
How to show login page content when click on back button of registration and hide the registration page content, the above code does not work and
data-rel="back"
It's not working because it will take back to previous page? Please help.