Click on the button to copy the text from the text field. Try to paste the text (e.g. ctrl+v) afterwards in a different window, to see the effect.


The document.execCommand() method is not supported in IE8 and earlier.