How can i open new safari window in inapp mode (ios)?

How can i open new safari window in inapp mode (ios)?

Hi,

today i have a probleme, probably nothing ^^
When i load my jqm app in safari and tap on the form (below), then a new window open with the pdf file.
But when i install this app in my home screen (inapp), the pdf file is opened in the main app screen, and so i can't back to my app.

How can I open this link into safari ? Or how can I back to my application ?
What is the best practice for user when they want to open pdf file into an inapp webapp ?

Thanks for your help
Geg

  1. <style> .ui-icon-pdf { background-image: url("/images/pdf_m.png"); } </style>
    <form id="openPdfFile" action="pdf.php" method="post" data-ajax="false" rel="external" target="_blank">
          <input type="hidden" name="f" value="xxx" />
          <input type="hidden" name="i" value="yyy" />
          <input type="submit" data-mini="true" data-icon="myapp-pdf" value="PDF (102K)" />
    </form>';