I would like to know if there is a way to get the name of a element by its class or id.
for exemple retur
var tagName = $('.some-class').prop('tagName');
the name of the tag will be returned in capital letters