title: Jquery mobile submit form with a dialog (straight POST)
body: <p>I am building a mobile web app using the jquery mobile framework.  I need to have my submit form button open up a dialog popup as well.  But the input type ="submit" element does not allow for the href attribute that's used to popup the dialog page.  Any help is greatly appreciated.</p>
  
  <p>Below is the html.  It pops up the dialog but does not submit the form.</p>
  
  <pre><code>      &lt;a data-role="button" href="ManholePhotosDialog.aspx" data-rel="dialog" data-transition="pop"class="save"&gt;Submit&lt;/a&gt;
  </code></pre>
  
  <p>I tried this script but it isn't working:</p>
  
  <pre><code>$(".save").click(function (){
    $("#form1").submit()
  });
  </code></pre>