JavaScript Keyup Asli Elemen SRC

function getCurrentElement() {
   if (window.getSelection){
        return window.getSelection().anchorNode.parentNode;
   }
   return false;
}
Friendly Hawk