Given the following sample code:
$(document).ready(function(){ $(\":input\").blur(function(){ alert(\"The input type is:\" ); //How would this l
$(this).attr("type");
See jQuery's Selectors/Attribute documentation for additional information.