jQuery Caret Plugin Example

A lightweight plugin to get & set cursor postion in JavaScript.

Written in HTML, CSS and JavaScript (jQuery)...

Example 2: Editable div

This is div element with attribute contenteditable.