JavaScript KeyUp Original SRC Element

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