how to determine that an element is button or text box
<p>How I can determine that an element is a <code>input</code> is a <code>button</code> type or is a <code>text</code> type in jquery?</p>

<p>thanks</p>
