| javascript Programming Glossary: el.createtextrangeIs there an Internet Explorer approved substitute for selectionStart and selectionEnd? http://stackoverflow.com/questions/235411/is-there-an-internet-explorer-approved-substitute-for-selectionstart-and-selecti  TextRange that lives only in the input textInputRange el.createTextRange  textInputRange.moveToBookmark range.getBookmark  Check if the.. doesn't return what we want  in those cases endRange el.createTextRange  endRange.collapse false if textInputRange.compareEndPoints.. 
 How to get caret position in textarea? http://stackoverflow.com/questions/263743/how-to-get-caret-position-in-textarea  r document.selection.createRange if r null return 0 var re el.createTextRange rc re.duplicate re.moveToBookmark r.getBookmark rc.setEndPoint.. 
 How to get the start and end points of selection in text area? http://stackoverflow.com/questions/3053542/how-to-get-the-start-and-end-points-of-selection-in-text-area  TextRange that lives only in the input textInputRange el.createTextRange  textInputRange.moveToBookmark range.getBookmark  Check if the.. doesn't return what we want  in those cases endRange el.createTextRange  endRange.collapse false if textInputRange.compareEndPoints.. 
 update textarea value, but keep cursor position http://stackoverflow.com/questions/3286595/update-textarea-value-but-keep-cursor-position  TextRange that lives only in the input textInputRange el.createTextRange  textInputRange.moveToBookmark range.getBookmark  Check if the.. doesn't return what we want  in those cases endRange el.createTextRange  endRange.collapse false if textInputRange.compareEndPoints.. startOffset el.selectionEnd endOffset else var range el.createTextRange var startCharMove offsetToRangeCharacterMove el startOffset.. 
 IE's document.selection.createRange doesn't include leading or trailing blank lines http://stackoverflow.com/questions/3622818/ies-document-selection-createrange-doesnt-include-leading-or-trailing-blank-li  TextRange that lives only in the input textInputRange el.createTextRange  textInputRange.moveToBookmark range.getBookmark  Check if the.. doesn't return what we want  in those cases endRange el.createTextRange  endRange.collapse false if textInputRange.compareEndPoints.. 
 Is it possible to programmatically detect the caret position within a <input type=text> element? http://stackoverflow.com/questions/4185821/is-it-possible-to-programmatically-detect-the-caret-position-within-a-input-typ  TextRange that lives only in the input textInputRange el.createTextRange  textInputRange.moveToBookmark range.getBookmark  Check if the.. doesn't return what we want  in those cases endRange el.createTextRange  endRange.collapse false if textInputRange.compareEndPoints.. 
 Javascript: Move caret to last character http://stackoverflow.com/questions/4715762/javascript-move-caret-to-last-character  el.selectionEnd el.value.length else if typeof el.createTextRange undefined el.focus var range el.createTextRange range.collapse.. if typeof el.createTextRange undefined el.focus var range el.createTextRange range.collapse false range.select  However you really shouldn't.. 
 How to get selected text/caret position of an input that doesn't have focus? http://stackoverflow.com/questions/5149683/how-to-get-selected-text-caret-position-of-an-input-that-doesnt-have-focus  r document.selection.createRange if r null return 0 var re el.createTextRange rc re.duplicate re.moveToBookmark r.getBookmark rc.setEndPoint.. 
 How to place cursor at end of text in textarea when tabbed into [duplicate] http://stackoverflow.com/questions/6003300/how-to-place-cursor-at-end-of-text-in-textarea-when-tabbed-into  el.selectionEnd el.value.length else if typeof el.createTextRange undefined el.focus var range el.createTextRange range.collapse.. if typeof el.createTextRange undefined el.focus var range el.createTextRange range.collapse false range.select var textarea document.getElementById.. 
 How do I detect “shift+enter” and generate a new line in Textarea? http://stackoverflow.com/questions/6014702/how-do-i-detect-shiftenter-and-generate-a-new-line-in-textarea  r document.selection.createRange if r null return 0 var re el.createTextRange rc re.duplicate re.moveToBookmark r.getBookmark rc.setEndPoint.. 
 How to get the selected text in textarea using jQuery in Internet Explorer 7? http://stackoverflow.com/questions/7186586/how-to-get-the-selected-text-in-textarea-using-jquery-in-internet-explorer-7  TextRange that lives only in the input textInputRange el.createTextRange  textInputRange.moveToBookmark range.getBookmark  Check if the.. doesn't return what we want  in those cases endRange el.createTextRange  endRange.collapse false if textInputRange.compareEndPoints.. 
 |