[jQuery] Figuring Type of Selected Element

[jQuery] Figuring Type of Selected Element

Hi,
I am running an each loop on a group of child elements and then doing something to them. Only, I want to treat tables differently.
How can I find out that what type the selected element is? Type as in, is it a table or a div or a span...
Thanks,
Gurpreet