title: Navigating between 2 html pages in phonegap
body: <p>I am working on phonegap application.
  I am facing one issue.</p>
  
  <p>I have four html pages in my application. 
  Every page contains some widgets like a button or a list view
  on click of button i move to next page. but when i want to come back on first page i can't. 
  that is when I try to come back using back button of device it closes the app.</p>
  
  <p>I am using device's back button and not user defined, so i need to handle that.
  same as <code>onBackPressed();</code> in android. </p>
  
  <p>I know it is because of the WebView widget. but unable to find solution.</p>
  
  <p>I am new to JavaScript, CSS, AJAX, jQuery and HTML5.</p>
  
  <p>How to handle back press in phonegap? </p>