I have definitely used this code before, but this time it causes an error.
My code is:
$(document).click(function (e) { var getPoint = document.getElementFromPoint(e.pageX,e.pageY); alert(getPoint); });
And I get the following Error :
document.getElementFromPoint is not a function
source share