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