title: disable checkbox after being checked
body: <p>Please I need help on disabling a checkbox from being checked again after being checked first. </p>
  
  <p>This is what I have done so far.</p>
  
  <pre><code>&lt;label class="checkbox-inline"&gt;&lt;input type="checkbox" id="checked" onclick="check();"&gt;&lt;/label&gt;
  
          &lt;script type="text/javascript"&gt;
          function check() {
            if($("#checked").is(":checked")){
               alert("Thanks for Attending");
              $(this).attr('disabled','disabled');
              }
            }
      }
      &lt;/script&gt;
  </code></pre>