check if element is a checkbox jquery code example Example: jquery check if type is checkbox $('#myinput').is(':checkbox')