How To Get the HTML Tag Name of an Element Using jQuery

Author: , September 8th, 2012

var Tag = jQuery(‘yourElementSelector’).get(0).tagName.toLowerCase(); Note: nodeName also works in place of tagName!