get the caret's position: pos = $(textarea).caret()
set the caret's position: $(textarea).caret(pos)
yanickrochon / caret Goto Github PK
View Code? Open in Web Editor NEWjQuery plugin to manipulate the caret's position in a text box
Home Page: http://code.accursoft.com/caret
License: BSD 3-Clause "New" or "Revised" License