Many times in my DHTML life I needed to know the caret position in an input field. This is trivial to retrieve in Gecko browsers (input.selectionStart, input.selectionEnd). And you can also select only a part of the input field very easily using input.setSelectionRange(). It's simple and natural—the way it has to be. We're not talking about rocket science. In Internet Explorer, however, there is n