title: jQuery check if an input is type checkbox?
body: <p>I'd like to find out if an input is a checkbox or not, and the following doesn't work:</p>
  
  <pre><code>$("#myinput").attr('checked') === undefined
  </code></pre>
  
  <p>Thank you once again!</p>