зеркало из https://github.com/mozilla/pjs.git
12 строки
282 B
HTML
12 строки
282 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<body>
|
||
|
<input type="text" value="blahblahblah" spellcheck="true">
|
||
|
<script>
|
||
|
var i = document.getElementsByTagName("input")[0];
|
||
|
i.focus(); // init the editor
|
||
|
i.blur(); // we actually don't need the focus
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|