View Full Version : Resolved Javascript Global Triggers

11-28-2017, 06:28 PM
Hello, this might seem a little weird. What I am trying to do is global triggers (Without JQuery)
EG: once an element gets focus the event will be triggered.
I am not entirely sure how to explain this but let me know if this doesn't make sense.

- DW

NVM I figured it out.

document.addEventListener('focus', function() {}, true);

Stupid me.