0

I am wondering if it is possible to access the text cursor of an <input type="text">.

Does it have a specific node in the DOM?

My initial feeling is that this is OS-specific, but if any one knows of a way to access it via JS / jQuery / CSS / XSLT then please let me know (non-cross-browser inclusive).

Purposes for this could include changing its colour, thickness, blink rate, perhaps even substituting it for a custom cursor like a DOS-esque underscore, a .gif animation, anything other than the ubiquitous 1px pipe!

pulsar
  • 986
  • 1
  • 9
  • 22
  • Yes, there are multiple answers that you could've used. Here's another: http://stackoverflow.com/questions/18138762/replace-blinking-text-cursor-with-custom-char – phette23 Dec 19 '13 at 16:21

1 Answers1

-1

This question has been answered before on this site. See the link below for more information.

It talks about simulating the caret with javascript and it looks like that might be the best bet.

Styling text input caret

Community
  • 1
  • 1
gb056
  • 149
  • 1
  • 1
  • 7