title: Jquery Mobile Dialog Form
body: <p>I'm working with jQueryMobile and I want to use a form to input some values in a database. </p>
  
  <p>I have a form which works and uses the test123.php to submit data to a database this:</p>
  
  <pre><code>  &lt;form method="get" action="test123.php?test=1"&gt;
           &lt;input type="submit" value="spiegel" /&gt;
    &lt;/form&gt;
  </code></pre>
  
  <p>I get a button, but the new page is shown as a normal page.</p>
  
  <p>With this solution:</p>
  
  <pre><code>  &lt;a  data-role="button" data-rel="dialog" href="#test"&gt;
             spiegel
    &lt;/a&gt;
  </code></pre>
  
  <p>I get a dialog with the same output (i get the message "spiegel").</p>
  
  <p>But I want the confirmation site to appear as a dialog.</p>
  
  <p>A link with data-rel"dialog" so i want to use my php site but i want to look it like a dialog after i submitted my data do a database. I'm not sure how to do this.</p>
  
  <p>Thank you for your help</p>