title: how to use jQuery to handle specific types of html controls
body: <p>Creating a click event for an input is easy</p>
  
  <pre><code>$('input').click(function () {
                  alert('adsf');
          });
  </code></pre>
  
  <p>But how can I be selective so that the previous code only works on type checkbox or of type button, rather than using the generic 'input' selector?</p>