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