title: opposite of click function
body: <p>what is the opposite function if the user unclicks a checkbox?</p>
  
  <p>this is my script if the user clicks the checkbox</p>
  
  <pre><code>&lt;script&gt;
  $(document).ready(function() {
    $("input[name$='INopt']").click(function() {
      $("#OUTsrvOtr").prop('class','text')
      });
  });
  &lt;/script&gt;
  
   &lt;input id="INsrv" name="INopt" type="checkbox" value="1" /&gt;1&lt;br&gt;
  </code></pre>
  
  <p>but i want this to run if the user unclicks/unchecks the checkbox</p>
  
  <pre><code>$("#OUTsrvOtr").prop('class','validate[required] text-input text')
  </code></pre>