blob: 079f25ad3554abf34f65de44e369cf2be78eb5ce [file] [log] [blame]
<textarea id="textarea">
text
text2
text3</textarea>
<iframe srcdoc="foo"></iframe>
<script>
textarea.focus();
onload = function() {
document.execCommand('selectAll');
selection = document.getSelection();
selection.deleteFromDocument();
}
</script>