Open faruq1256 opened 9 years ago
This is likely not a ViewerJS issue. All you need to do is create an iframe with src to ViewerJS/index.html#yourpdffile
Then from parent page, just update the SRC of that iframe with new pdffile hash.
ie jquery: $('#youriframe').src('ViewerJS/index.html#yourNewPDF')
Hi,
I have a requirement of changing the iframe src dynamically when user clicks on different links. Basically need to display different pdfs in the iframe.
Could anyone help me out on my issue. Thank you in advance.
Regards, Faruq Shaik.