I have a textarea
and when i paste a inside in it using ctrl+v
, i need to check the content and if any content inside in it i need to change it into text and place it inside the textarea
. any method by using JavaScript
?
Asked
Active
Viewed 43 times
0

Vishnu Prasad
- 729
- 1
- 11
- 28
-
What are you trying to accomplish? You cannot access the clipboard via javascript, but you can access data pasted into a textarea and change it before it actually get's placed. – red-X Sep 10 '14 at 11:43
-
i don't think it's possible with only javascripts. – Gayan Sep 10 '14 at 11:45
-
@red-X. ok.how can i clear that data before pasting it in textarea.? – Vishnu Prasad Sep 10 '14 at 12:02