title: Select multiple ID's - Both checkboxes must be selected
body: <p>Is there a way for two or more ID's be required to be checked before doing something.</p>
  
  <p>For instance:</p>
  
  <p>If <b>BOTH</b> Checkbox 1 and Checkbox 2 are checked then the event happens.</p>
  
  <p>But if only 1 or the other are checked by themselves, something else happens.</p>
  
  <p>I thought this would work but nope. </p>
  
  <pre><code>function toggleStatus() {
      if ($('#checkbox1 #checkbox2').is(':checked')) {
  $('.option1 :input').attr('checked', true);
      } else {
  $('.option1 :input').attr('checked', false);
  }
  
  function toggleStatus() {
      if ($('#checkbox1').is(':checked')) {
  $('.option2 :input').attr('checked', true);
      } else {
  $('.option2 :input').attr('checked', false);
  }
  
  function toggleStatus() {
      if ($('#checkbox2').is(':checked')) {
  $('.option3 :input').attr('checked', true);
      } else {
  $('.option3 :input').attr('checked', false);
  }
  </code></pre>
  
  <p>Hopefully I am explaining this correctly. I have looked for three days and I am stuck. Thanks for any help! </p>