P
P
pavlusha12018-03-18 10:51:58
JavaScript
pavlusha1, 2018-03-18 10:51:58

How to close browser window when switching to PDF?

In general, things are like this when you click on a link, a window opens in which a form is filled out and sent to DomPDF to generate a document, now the question is where to insert the window.close() script; to close the window with the form?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
doublench21, 2018-03-18
@doublench21

Content-Type: application/pdf; charset=utf-8
Content-Disposition: inline

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question