title: Access content of jQuery Mobile (sub)page using JavaScript
body: <p>I've been trying many of the "standard" JavaScript DOM functions to access elements in an HTML document (<code>getElementById</code>, <code>getElementsByName</code> etc.), but I can't get it working with jQuery Mobile - when a subpage is loaded, the values returned from <code>getElementById("elementOfInterest").innerHTML</code> still contains the value from the master page.</p>
  
  <p>I'm trying to implement this in an iPhone app, to extract and display the respective subpages' titles in a navigation bar (the page is displayed in an UIWebView), but I think (and hope) that the problem and solution is more or less "platform independent".</p>
  
  <p>Anyone with thoughts of how to achieve this using JavaScript (or possibly some jQuery function)? I couldn't find anything in the jQuery Mobile Docs, though.</p>