blob: cb46ff4faed691a9b76f18764fcb55764e828796 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
</head>
<body>
<p id="description">Focus field with a placeholder, then type.</p>
<div>
<textarea id=i1 placeholder="Placeholder"></textarea>
<script>
var i1 = document.getElementById('i1');
i1.focus();
document.execCommand("InsertText", false, "Text");
</script>
</body>
</html>