SyntaxFix
Write A Post
Hire A Developer
Questions
>>> a=$("#communitymode")[0] <input id="communitymode" type="checkbox" name="communitymode"> >>> a.type "checkbox"
Or, more of the style of jQuery:
$("#myinput").attr('type') == 'checkbox'