Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE HTML><html>
<body>
<textarea spellcheck="false" style="-moz-appearance: none">ab</textarea>
<script>
var t = document.querySelector("textarea");
t.focus();
t.selectionStart = t.selectionEnd = t.value.length;
</script>
</body>
</html>