JS v jQuery Event Listener

Just so I remember…

window.addEventListener('universalVariableUpdated', function() {
alert('UV Present (raw JS)');

jQuery(window).on("universalVariableUpdated", function() {
alert('UV Present');


Got a flickr account? Got a photo that illustrates this post? Just add the following triple tag and as if by magic, it will appear here:


Leave a Reply

Your email address will not be published. Required fields are marked *