Open a pdf in a iframe with close button on the page
Open a pdf in a iframe with close button on the page

in DataTables 2
Good day,
I am using iframe with datatables to prevent the full path of programmes and especially pdf documents from being displayed.
I would like to be able to open a pdf on a page where I can also insert a close button.
Any advice is appreciated...
Giuseppe
Answers
Hi Giuseppe,
It should be perfectly possible, but you'd to modify the library code a little bit. Here specifically - instead of using
.open()
or.download()
get the Blob and draw that into an iframe on your new page with the close button.Allan