1document.addEventListener('click', function(e) {
2 e = e || window.event;
3 var target = e.target || e.srcElement,
4 text = target.textContent || target.innerText;
5}, false);
1$(document).click(function(event) {
2 var text = $(event.target).text();
3});