I want to retrieve the RTF content from the Clipboard(Orginating from MSWord). Is it possible to retrieve it using javascript / JQuery methods?
            Asked
            
        
        
            Active
            
        
            Viewed 559 times
        
    1 Answers
0
            
            
        In general, no. You can only get it if the user triggers a paste. WebKit provides a means to access the clipboard during a paste event and IE provides a clipboardData object that sometimes allows this (depending on the security settings) but that's it.
You can use a hack to effectively redirect a user paste into an off-screen element. See my answer here: JavaScript get clipboard data on paste event (Cross browser)
 
     
    