title: closing the Jquery mobile panel on submit button
body: <p>I have a jquery mobile panel like so:</p>
  <pre><code>&lt;a href=&quot;#panel2&quot;  class=&quot;ss-header-actions-language&quot;&gt;
      &lt;span class=&quot;ss-header-labels&quot; id=&quot;ss-general-label&quot;&gt;Language&lt;/span&gt;
  &lt;/a&gt;
  
  &lt;div data-role = &quot;panel&quot; id = &quot;panel2&quot; data-display=&quot;overlay&quot; data-position=&quot;right&quot; data-swipe-close=&quot;false&quot; &gt;
      &lt;asp:RadioButton ID=&quot;rdbEng1&quot; AutoPostBack=&quot;true&quot;   runat=&quot;server&quot; Text=&quot;English&quot;  GroupName=&quot;lang&quot;   /&gt;
      &lt;asp:RadioButton ID=&quot;rdbspan1&quot;  AutoPostBack=&quot;true&quot;   runat=&quot;server&quot; Text=&quot;Español&quot;  GroupName=&quot;lang&quot;   /&gt;
      &lt;asp:Button runat=&quot;server&quot; Text=&quot;Submit&quot; OnClick=&quot;Submit_Click&quot;   /&gt;
  &lt;/div&gt;
  </code></pre>
  <p>I want the panel to close when the submit button is clicked. Right now, panel closes when I select any radio button inside the panel. I want the panel to stay open if the Radio button is clicked, but as soon as I click on submit button, I want the panel to close.</p>
  <p>How can I achieve that. Any help will be highly appreciated.</p>