title: how to verify if a checkbox is checked in jQuery before submission
body: <pre><code>&lt;select name="status" id='status'&gt;
      &lt;option value="Submitted"&gt;Submitted&lt;/option&gt;
      &lt;option value="Canceled"&gt;Canceled&lt;/option&gt;
  
  &lt;/select&gt;
  &lt;input type="checkbox" id="app_box" name="application_complete" value="checked"&gt; App Complete
  
  &lt;script type="text/javascript"&gt;
  $(function() {
  
      $('form.editable').submit(function(){ 
          if ($('#status').val()=='Canceled') { 
              if (!confirm('This  information will be discarded! )) { 
                  return false; 
              } 
          } 
      }); 
  
  }); 
  &lt;/script&gt;
  </code></pre>
  
  <p>So, I have the above script which works fine. I have to add one more confirmation. When the agent clicks on the submit button , I want to check if the application check box is checked or not. If it is not checked then display another confirmation box saying, you have to check the box. How can this be done in jquery.</p>