Skip to content Skip to sidebar Skip to footer

Display Pdf File Inside Magnific-popup Modal

I have a form on my website that the user needs to fill in order to generate a PDF file. If there are errors in the form, the server will respond with a json object with the list o

Solution 1:

This might be useful for someone with the same problem: Instead of sending the pdf file as a response, I decided to generate a temporary pdf file in the server and send the path to that file as response. Then we can tell to magnificPopup to display it inside an iframe.


Post a Comment for "Display Pdf File Inside Magnific-popup Modal"