Onclick -Knoten JS

object.onclick = function() { 
console.log("Clicked!");
};
Aqua