Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

document.elementfrompoint

function changeColor(newColor) {
  elem = document.elementFromPoint(1, 2);
  elem.style.color = newColor;
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
7+1 =