- get the caret's position:
pos = $(textarea).caret()
- set the caret's position:
$(textarea).caret(pos)
- set the caret's position to the end:
$(textarea).caret(-1)
Return value: the current/new caret position
Content-Length: 253931 | pFad | https://github.com/accursoft/caret
D1Fetched URL: https://github.com/accursoft/caret
Alternative Proxies: