title: how to: open or save a pdf file from inside my html5 based iphone app?
body: <p>If I just use a standard link the pdf opens but it basically hijacks my app interface and the user can no longer back out of the pdf.   If I make the pdf load into a div then i see gobbeldygook in the div.
  I want the link to either save the pdf with a standard <em>Save As</em> dialog or open the pdf in a default app - possibly giving the choice of apps is there is no default.</p>
  
  <p>I am using html5 for the iphone.  My app uses its own history for navigation.</p>
  
  <p>PS:  so far I am using a link like so 
  <code>&lt;a id="pdflink" href="http://www.myserverzzz.com/menus/menu_4869_document.pdf" target="_blank"&gt;Download PDF&lt;/a&gt;</code> and it seems to work, but I'm worried that maybe this is not optimal, it would be better if I could open the pdf in a div inside my app, like a div below the link  or below a <em>download pdf</em> button.  </p>