title: submit form using jquery modal popup
body: <p>i have button called no of users when i click on the button it opens one modal popup..</p>
  
  <p>so what i am trying to do is in the modal popup i am trying t insert form with one field enter number..and when they click submit i want to store those values in database</p>
  
  <p>here is my button code:</p>
  
  <pre><code>&lt;button type="button" class="btn btn-success"style="float:right; margin:3px 0px 3px 3px" id="btnShow"&gt;No Of Users&lt;/button&gt;
  </code></pre>
  
  <p>here is my modal dailog code:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(function () {
  $("#btnShow").click(function(){
  $('#demoModal').modal('show');
  });
  });
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;div style="text-align:center; margin-top:10%"&gt;&lt;/div&gt;
  
   &lt;div class="modal fade" id="demoModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"&gt;
  &lt;div class="modal-dialog"&gt;
      &lt;div class="modal-content"&gt;
          &lt;div class="modal-header"&gt;
              &lt;button type="button" class="close" data-dismiss="modal" aria-hidden="true"&gt;&amp;times;&lt;/button&gt;
              &lt;h4 class="modal-title" id="myModalLabel"&gt;Bootstrap Modal Popup&lt;/h4&gt;
          &lt;/div&gt;
          &lt;div class="modal-body"&gt;Hi, Welcome to Aspdotnet-Suresh.com&lt;/div&gt;
          &lt;div class="modal-footer"&gt;
              &lt;button type="button" class="btn btn-default" data-dismiss="modal"&gt;Close&lt;/button&gt;
              &lt;button type="button" class="btn btn-primary"&gt;Save changes&lt;/button&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>can anyone help me how to do </p>
  
  <p>Thanks in advance..</p>