jquery selectors (finding tag)
- by matthewsteiner
I'm sure this is simple, but I can't seem to figure it out. I need to be able to pass a function an element id, and know what element tag it is.
For example:
<a id="first"></a>
<input id="last" />
If I know the id is "first", how can I get that the tag is "a"?