How would you trigger a click event from an element that supposedly does not have native clickable behaviours?
For example, I know that you could simply just use the
Try doing something like the following:
var my_div = document.getElementById('x'); my_div.onclick = function() { alert('hello world'); }