I have an embedded pdf:
<embed src="images/Picture1.pdf" type="application/pdf" name="slide" width="1012" height="700"></embed>
I execute:
document.slide.src = myPix[thisPic];
The good news is that a javascript alert will confirm that document.slide.src has been changed to a different pdf.
The bad news is that the new pdf is not shown on the screen. The original pdf remains, despite changing the embed src.
Can the embedded content be updated on-screen?
<embed src="images/Picture1.pdf" type="application/pdf" name="slide" width="1012" height="700"></embed>
I execute:
document.slide.src = myPix[thisPic];
The good news is that a javascript alert will confirm that document.slide.src has been changed to a different pdf.
The bad news is that the new pdf is not shown on the screen. The original pdf remains, despite changing the embed src.
Can the embedded content be updated on-screen?