I am trying to figure out how to get an element type in jQuery.
If I click on something I would like the console.log to write out what kind of element I clicked, if it is a link, button, checkbox and so on.
Something like this:
console.log("time: " + Date() + " element type: " + $.(this).type);
This does not work, except for the date which works fine.