title: How do I determine an HTML input element type upon an event using jQuery?
body: <p>Given the following sample code:</p>
  
  <pre><code>$(document).ready(function(){
      $(":input").blur(function(){
          alert("The input type is:" );  //How would this look??????
      })
  });
  </code></pre>
  
  <p>How can I detemine whether this is an input, select, text, etc?</p>
  
  <p>This is not a real-world example but should suffice for the purposes of this question</p>