title: Display alert if checkbox isn't checked on button click
body: <p>How I can issue a pop up alert, such that when a user clicks a button, and a checkbox isn't checked, an alert will appear using jQuery?</p>
  
  <p>The checkbox is:</p>
  
  <pre><code>&lt;input type="checkbox" id="confirm" class="confirm"&gt;
  </code></pre>
  
  <p>The button is:</p>
  
  <pre><code>&lt;form action="resetprocess.php" method="POST"&gt;
    &lt;button type="submit" id="reset" class="btn btn-danger"&gt;Reset &lt;i class="icon-repeat"&gt;&lt;/i&gt;&lt;/button&gt; 
  &lt;/form&gt;
  </code></pre>