0
close Doc using Javascript
New Here
,
/t5/acrobat-reader-discussions/close-doc-using-javascript/td-p/11189884
Jun 07, 2020
Jun 07, 2020
Copy link to clipboard
Copied
Hi folks,
i have a custom form and we use javascript to save and close the PDF file. Eveything works fine if use save or close button on the form. If we make any changes and click on the 'X' button of Adobe reader which ask a conformation box and if i click on cancel and then if i click on custom close button, doc is not closing. Im using below javascript code to close
this.closeDoc(true);
if we directly clicked on close button without clicking 'x' button everything works fine. Any inputs really appreciated.
TOPICS
PDF forms
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Have something to add?
Join the conversation

