[thelist] js cursor position in a form

Peter Brunone (EasyListBox.com) peter at easylistbox.com
Thu Jan 5 09:04:49 CST 2006

Which browser?  Please show all the relevant code.

 From: Brian Cummiskey Brian at hondaswap.com

Peter Brunone (EasyListBox.com) wrote:
> The createTextRange part is IE-specific. The Mozilla approach looks like this:
> inputText.setSelectionRange(iStartPosition, iEndPosition)
> This might work in IE also; I haven't tested it there.

I just tried both methods, and both produce the same error:

"object doesn't support property or method."

More information about the thelist mailing list