jQuery Caret This is a very simple lightweight plugin to allow you to move the caret (or cursor) position in an <input /> or <textarea> element. By exposing three jQuery.fn methods you can easily move a a caret to any position you like: $.fn.caretTo( index , [ offset ] )