Jun 10, 2010JavaScript get input caret cursor position; getSelectionStart getSelectionEnd; char position