From the Clipboard

Discussion in 'JavaScript' started by PrateekSaxena, Oct 23, 2006.

  1. #1
    Hello,

    I have one query relating to the clipboard of the computer. What I want is that let us say that I have a textbox right. Now somebody gets the focus of the text box and presses [Ctrl]+[V]. What I want is that before the text is actually pasted to the text area, I am able to get what was on the clipboard using JavaScript in a variable so that I can edit stuff and whatever. Could someone please tell me how to do that.

    Thanking You,
    Prateek Saxena :)
     
    PrateekSaxena, Oct 23, 2006 IP