Result in TEXTAREA at last mouse location?

admin

Administrator
Staff member
G'day folks:

I have a JS function that takes user-inputted text and the url of a file they select, wraps custom tags around the two and prints it all into a TEXTAREA.

HOWEVER:

Presently the result is always dumped at the *end* of the last content in the TEXTAREA. Is it possible to get/store the last mouse position within the TEXTAREA and have the result dumped at that point in the TEXTAREA instead of at the end??

I thank you in advance for any pointers you may have.

Cheers.
 
Back
Top