7 document
.getElementById("t1").focus();
8 document
.getElementById("t1").setSelectionRange(4, 4);
9 document
.getElementById("t1").setAttribute("contentEditable", "false");
13 <body onload=
"init()">
14 <textarea id=t1 contenteditable=true
>ABCD
</textarea>