Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<body>
<script>
document.addEventListener("DOMContentLoaded", function() {
var t = document.querySelector("textarea");
t.focus();
document.querySelector("#dst").appendChild(t);
});
</script>
<div>
<textarea>I
am
a
long
long
long
long
textarea
</textarea>
</div>
<div id="dst"></div>
</body>
</html>