Hi
Can Anyone please give me a script which is used to drag a text from within a webpage to the textarea present on the page.

I want a certain text to be appended to the textarea text and
I want a certain text to be added anywhere in the textarea text when I drag...

Using a drag and drop library along with a simple Javascript logic should get you going.

That library is used for dragging images and layers I want a simple to text to be dragged into textarea

basically the text can be dragged to anywhere from anywhere I want to improvise that feature as I needed

try dragging a text from a within a webpage to the textarea on the same page

That's why I pointed to a similar library so that you can take a peek at the source code and try to modify it according to your needs. Maybe looking at some other full fledged Javascript libraries like Prototype etc. (or their source code if libraries are not allowed) will help you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.