Get caret position in Editable DIV

Note: I've tried other answers related to this question. But don't get a solution.

jsFiddle

My code in this script that I tried but didn't get any result.

I want to insert a label at the cursor position and cannot be editable . label

I want cross browser for this code.

+3


source to share





All Articles