[jQuery] :input selector

[jQuery] :input selector


Hi,
How can I tell what type of input the field is in this 'each' loop?
[code]
$(":input").each(function() {
// how to get the type of input?
// i need to get all the inputs and than determine the type of
input
})
[/code]