Get element or tag name with jQuery

To get the element/tag name with jQuery:

 $( '.selector' ).get( 0 ).tagName

Leave a Reply