I recently added the free Adobe Embed PDF API to my website. I need to let visitors highlight or comment on the PDF content and save the document to the server.
Can anyone give me an example on how may I set the Save button to send the modified document to an Ajax request in order to save it to the server?
I checked in the documentation and on Google and could not find a proper example on how may I get the changed document when I click Save so instead of sending it to download to the user to save it to the server.
The Adobe Embed API documentation mention there is a save handler which may send the file to PHP.
https://www.adobe.com/devnet-docs/dcsdk_io/viewSDK/howtos_ui.html#save-a-pdf
I am a PHP dev with little jQuery knowledge that is why I need any example.
Thank you.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…