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