I know how to populate the textarea. What I need to know is how do i insert the object at the cursor point rather than at the end of the existing text?
Thanks, but I had already established this - what I need to know is how to get the new text to populate mid where the curser point is, rather than always at the end of the old text.
IBM has an article that is quite intense to say the least but works only in mozilla. Search google with "ahoy" to find something.
window.getSelection() is the method used to find out what is selected. I found it rather buggy myself and couldn't get it to work. If you are more patient than I and find a solution do come back and share with us! Gary
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.