Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

you can get the cursor caret offset position(i.e.x,y) by this plugin, even included index getter.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README
Octocat-spinner-32 demo.html
Octocat-spinner-32 jquery.caretposition.js
Octocat-spinner-32 jquery.js
README
Usage
========

    var pos = $('textarea').getCaretPosition();
    // now you can use left, top(they are relative position)
    $my_tip.css({
			left: this.offsetLeft + pos.left,
			top: this.offsetTop + pos.top
		})
Something went wrong with that request. Please try again.