I have a QR Code and an Image in a div
. I want to copy the QR Code and the Image by clicking a Copy button and then paste them to word file.
Is this possible using jQuery/JavaScript?
I have a QR Code and an Image in a div
. I want to copy the QR Code and the Image by clicking a Copy button and then paste them to word file.
Is this possible using jQuery/JavaScript?
Not possible. File operations can not be done in JS/Jquery side and its not allowed by browsers(thank god!). Activex can make it possible but I don't think you want that. There the File API of HTML5 but not all browsers support.
My Suggestion would be to create WebMethod/WebService to do something like this, make ajax call to this webservice from your javascript or Jquery. User experience will remain same as you intend.