Get the type of the HTML element from a jquery object [duplicate]
$('.myElem').each(function () { var htmlType = $(this).prop('tagName') //Example console.log(htmlType);});
$('.myElem').each(function () { var htmlType = $(this).prop('tagName') //Example console.log(htmlType);});