mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 20:17:37 +00:00
13 lines
216 B
HTML
13 lines
216 B
HTML
<!DOCTYPE HTML><html><head>
|
|
</head>
|
|
<body>
|
|
<textarea>ab
|
|
</textarea>
|
|
<script>
|
|
var t = document.querySelector("textarea");
|
|
t.focus();
|
|
t.selectionStart = t.selectionEnd = t.value.length;
|
|
</script>
|
|
</body>
|
|
</html>
|