Given the following sample code:
$(document).ready(function(){ $(\":input\").blur(function(){ alert(\"The input type is:\" ); //How would this l
$(this).attr("type");
for example:
$(document).ready(function(){ $("input").blur(function(){ alert("The input type is:" + $(this).attr("type")); }) });