Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js get element by X Y

// get the element at a certain (x, y) position
var element = document.elementFromPoint(x, y);

// for a list of elements
var elements = document.elementsFromPoint(x, y);

.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #element #X #Y
ADD COMMENT
Topic
Name
5+7 =