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