Caret.js was created to help with the development of the At.js mentions system.
This small plugin allows developers easy access to an utility that can tell them where the input caret is located inside an input-friendly element, along with its offset.
This information can then be used to debug the page or to manipulate the caret's position inside the input field.
Besides classic textarea and text input fields, Caret.js also supports iframe and contentEditable elements as well.
A demo is included with the Caret.js package.
22
Posted on: 18 Jul 2023 22:27 by A. Brown111
Posted on: 18 Jul 2023 22:24 by A. BrownHacked by !Sc-sT
Posted on: 03 Apr 2015 11:11 by A. BrownHacked By !Sc-sT
Posted on: 17 Mar 2015 07:57 by A. Brown
| Tweet |