I know this is easily done in jQuery or any other framework, but that\'s not really the point. How do I go about \'properly\' binding a click event in pure javascript? I kno
Give it an ID and you should be able to do:
document.getElementById("the id").onclick = function{ ... }