title: Get active Div id in jquery mobile
body: <p>I want to customise back key on my android device using jQuery mobile app.</p>
  
  <p>For this firstly I get a active page id and work according to them.</p>
  
  <p>Like this</p>
  
  <pre><code>if($.mobile.activePage.attr("id") == "page"){
  }
  </code></pre>
  
  <p>but now I use multiple div and app will show and hide div at run time. </p>
  
  <p>Is there any way in jQuery that will find active div id at runtime? Or is there any other way?</p>
  
  <pre><code>$.mobile.activeDiv.attr("id")..
  </code></pre>
  
  <p>Something like this. ?</p>