I use $('[attribute]')
to select html nodes. When I am using the nodes it would be nice to know which html element was selected.
Pseudo code:
$('body').on('click', '[action]', function(){
var htmlElementName = this.name;
if(htmlElementName == 'form'){
return;
}
//do stuff
});