Generic filters
Exact matches only

Set cursor postion at end of text on focus of textbox

1st March 2020

Jquery - Forms-Posting

jquery icon

This code sets where the cursor postion is.
All this code does is reads the text value, clears it then replaces the original value again, so it looks like you are still typing, thus your cursor is set at the end.

Was this code snippet helpful?