com.github.bartekbp.jquery-caret

1.3.6 • Public • Published

jQuery Caret

  • get the caret's position: pos = $(textarea).caret()
  • set the caret's position: $(textarea).caret(pos)
  • set the caret's position to the end: $(textarea).caret(-1)

Return value: the current/new caret position

Readme

Keywords

Package Sidebar

Install

npm i com.github.bartekbp.jquery-caret

Weekly Downloads

1

Version

1.3.6

License

BSD-3-Clause

Last publish

Collaborators

  • bartoszpolnik