how to get the type of input?

Posted by Trez on Stack Overflow See other posts from Stack Overflow or by Trez
Published on 2010-03-12T17:34:54Z Indexed on 2010/03/12 17:37 UTC
Read the original article Hit count: 155

Filed under:
|
|

How to get the type of input in the form? for example:

<input type="text" value="123" name="username" />

the return type should be "text".

Any ideas?

© Stack Overflow or respective owner

Related posts about input

Related posts about form