if i have <input id="fname" name="fname" type="text" value="" />

 if I do:

$('#fname').attr('type') - it returns "undefined"

how can I get the "type" ?

Reply via email to