jquery get the type of a input code example Example: jquery get input type $('#identifier').attr('type');