SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
var div = document.getElementsByClassName('drill_cursor')[0]; div.addEventListener('click', function (event) { alert('Hi!'); });