ok
read this:
https://javascript.info/bubbling-and-capturing
any click event bubbles up the dom tree, meaning you can capture any click on any element just by
jQuery(window).on('click', function(){ })or
window.addEventListener("click", function(){ })the event target value shows you what was clicked on specifically:
https://developer.mozilla.org/en-US/docs/Web/API/Event/target
jQuery(window).on('click', function(e){ console.log(e.target); })