Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Allow paste js code

var allowPaste = function(e){
  e.stopImmediatePropagation();
  return true;
};
document.addEventListener('paste', allowPaste, true);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Allow #paste #js #code
ADD COMMENT
Topic
Name
8+9 =