How about following the built-in drop.d example? Perhaps before calling doDragDrop you can get the currently selected text in the textbox, and use that as the data to pass to doDragDrop; it's important to enable allowDrop.

jicman wrote:

Greetings and salutations.

I would like to click on a textbox, txtBoxA, highlight its content and drag it to another textbox, txtBoxB, and copy the content of txtBoxA to txtBoxB. I am having problem doing that.