Ubi a écrit :
Hi guys,
I am loading a page with textareas containing text.
By the default, the cursor goes at the beginning of the text.
When I click in a textarea the cursor goes where I've clicked ...
If I do : myTextarea.focus();
the cursor comes at the end.
How do you do to get it in 1st position ?
I would like to position the cursor at the end of the text instead.
<body onload="document.myForm/myText.focus();">
--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé
Stephane Moriaux and his (less) old Mac already out of date