mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
11 lines
201 B
HTML
11 lines
201 B
HTML
<!DOCTYPE HTML><html>
|
|
<body>
|
|
<textarea>ab</textarea>
|
|
<script>
|
|
var t = document.querySelector("textarea");
|
|
t.focus();
|
|
t.selectionStart = t.selectionEnd = t.value.length;
|
|
</script>
|
|
</body>
|
|
</html>
|