I have a form with several text boxes.
The onblur handler for each calls a function, and so does the onfocus handler. Both the functions alter the display.
When I am in one text box and click into another, it appears (from using alert boxes to track the results) that browsers PROCESS the onblur first, then the onfocus, but then DISPLAY the onfocus changes and finally display the changes dictated by the onblur.
The onfocus may find text already in the box, and when it does it places the cursor at the end of the text.
But then the browser does the onblur screen-changes and when it returns focus to the new text box the cursor is in the leftmost position.
Does anyone know how I can position the cursor in that text box so it appears in the position following the last byte of whatever text is already entered (thus enabling the user to continue typing)?