Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript keyup original src element

function getCurrentElement() {
   if (window.getSelection){
        return window.getSelection().anchorNode.parentNode;
   }
   return false;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #keyup #original #src #element
ADD COMMENT
Topic
Name
6+3 =