Check if input is textbox, select, textarea or radio
<p>I have a form with different html input fields...</p>

<pre><code>1) &lt;input type="text"&gt;
2) &lt;textarea&gt;&lt;/textarea&gt; 
3) &lt;input type="checkbox"&gt;
4) &lt;input type="radio"&gt;
5) &lt;select&gt;&lt;/select&gt;
</code></pre>

<p>How would I be able to determine what type of input field it is using jQuery. <em>For example: If I wanted to do a check to see if input = "select" then do stuff.</em></p>
