Top "Caret" questions

caret refers to an onscreen text-cursor.

How to get the focused element with jQuery?

Using jQuery, how can I get the input element that has the caret's (cursor's) focus? Or in other words, how …

javascript jquery cursor element caret
How to set caret(cursor) position in contenteditable element (div)?

I have this simple HTML as an example: <div id="editable" contenteditable="true"> text text text<br&…

javascript jquery contenteditable caret cursor-position
How to get the caret column (not pixels) position in a textarea, in characters, from the start?

How do you get the caret position in a <textarea> using JavaScript? For example: This is| a text …

javascript cursor textarea caret
Styling text input caret

I want to style the caret of a focused <input type='text'/>. Specifically, the color and thickness.

html css input caret
Get contentEditable caret index position

I'm finding tons of good, crossbrowser anwers on how to SET the cursor or caret index position in a contentEditable …

javascript contenteditable caret cursor-position
Get caret position in HTML input?

How do I get the index of the text caret in an input?

javascript html caret
Set the caret/cursor position to the end of the string value WPF textbox

I am try to set the caret/cursor position to the end of the string value in my WPF textbox …

wpf textbox cursor caret cursor-position
Remove text caret/pointer from focused readonly input

I am using an <input readonly="readonly">, styled as normal text to remove the appearance of an interactive …

html css forms caret
What does the caret operator (^) in Python do?

I ran across the caret operator in python today and trying it out, I got the following output: >>&…

python operators caret
Changing bootstrap caret(color and position)

I want to change color of caret and make it not relative from input text, because it's hard to make …

twitter-bootstrap caret