Get cursor position in Text Field/Area

For a certain control, that I’m converting from Desktop to Web, I need to know the current position of the cursor in a Text Field/Area.
Since SelStart isn’t available in Xojo Web, I need an other way to get that cursor position.
The cursor position can be any place within the entered text of the Text Field/Area.
Is it possible to retrieve the current cursor position in a Text Field/Area?

Within the Xojo framework, no. Keep in mind the round trip delay makes this information next to useless.
You can get the position with Javascript but it would be best to implement the whole function that uses the insertion caret position in Javascript to avoid latency / lag problems.

Good idea ! https://www.codecademy.com/learn/introduction-to-javascript It’s only 30 hrs.