The result is the cursor will move up and to the left 50 pixels from where it is when the code is executed. All legal color values can be used (rgb, hex, named-color, etc). Value Description; auto: Default. var currentCursorPosition = $("#textbox").currentCursorPosition(); 0,0 will place the caret at the beginning. Cursor Value: alias: This property is used to display the cursor’s indication of something is to be created. Add CSS¶. Render blocking of the parent page. CSS-Tricks is created by Chris and a team of swell people. I mean, when i put cursor (click) in some text i will know where the cursor is. On button click trigger function to return cursor position on div. I’m struggling to implement this behavior on focus of a