5 <div>When the caret reaches the edge of the input box, on the next input if must jump to the center of the control.
</div>
6 <input type=
"text" name=
"input-edit" id=
"input-edit" size=
"10" value=
"012345678901234567890123456789" />
9 var inputEdit
= document
.getElementById("input-edit");
11 var inputEditContent
= inputEdit
.value
;
12 inputEdit
.setSelectionRange(0, 0);
13 if (window
.eventSender
) {
14 for (var i
= 0; i
< inputEdit
.size
* 1.2; ++i
)
15 eventSender
.keyDown(inputEditContent
[i
]);