mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-11-05 02:06:25 +00:00
21 lines
405 B
HTML
21 lines
405 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script type="text/javascript">
|
|
function doTest()
|
|
{
|
|
document.getSelection().selectAllChildren(document.body);
|
|
var editor = document.getElementById("editor");
|
|
editor.focus();
|
|
editor.select();
|
|
editor.blur();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="doTest()">
|
|
<p>normal text</p>
|
|
<textarea id="editor">textarea</textarea>
|
|
</body>
|
|
</html>
|
|
|