title: how to show the popup message on Exit button
body: <p>I have a button  something like this what should I do?</p>
  
  <pre><code>&lt;input type="button" value="Exit" onclick="JavaScript:window.location.href='../index'"/&gt;
  </code></pre>
  
  <p>On Exit I am going to Other view..</p>
  
  <p>On click on Exit I need to display popup window saying Are you sure you want to Exit? with Ok and Cancel buttons</p>
  
  <p>anybody tell me out to do this?</p>
  
  <p>thanks</p>