Looking to Build/Redesign a Website or Blog ?

To speak to Rakshit, call +91 968 704 2303

July 6, 2013

1 Comment

jqury-ui-developer

[jQuery] How to copy the selected text to a textarea on double click

I was in a position where i need to edit some part of div block. I need to select some lines from paragraph and than when we double click on it, i need that text and place it to textarea to edit it. To achieve this, when i double click, it was removing the selection of text. Here is a solution i found for this.