1 <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML//EN">
6 <p id=
"description">Focus field with a placeholder, then type, then delete all text.
</p>
8 <textarea id=i1
placeholder=
"Placeholder"></textarea>
10 var i1
= document
.getElementById('i1');
12 document
.execCommand("InsertText", false, "Text");
13 document
.execCommand("Delete");
14 document
.execCommand("Delete");
15 document
.execCommand("Delete");
16 document
.execCommand("Delete");