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