I am trying to make a mobile site in MVC , I am new to jquerymobile, I copied the following code from a JQM tutorial and pasted it into View in MVC
<div data-role="page" id="home"> <div data-role="header"> <h1>Home</h1> </div> <div data-role="content"> <p><a href="#about" data-role="button">About this app</a></p> </div> </div> <div data-role="page" id="about"> <div data-role="header"> <h1>About This App</h1> </div> <div data-role="content"> <p>This app rocks! <a href="#home" data-role="button">Go home</a></p> </div> </div>
My problem is that it shows the back button on header in the demo where I copied the code from, but when I ran it, the back button is not there can anyone tell me why this happened?
gaurav
source share