title: Javascript won't change pages in PDF or Zoom
body: <p>I'm using Windows 10 and I have a file called <code>pdf.html</code> on my Desktop.</p>
  
  <p>The contents of <code>pdf.html</code> is.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;script type="text/javascript"&gt;
  
  function goAndZoom(pageNum,zoom)
  {
      var pdf = document.getElementById('pdf');
      pdf.data = pdf.data+'#page='+pageNum+'&amp;zoom='+zoom;
      document.body.removeChild(pdf);
      document.body.appendChild(pdf);
  }
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;button onclick="goAndZoom(4,300);"&gt;Go to Page 4 and zoom 300%&lt;/button&gt;
  &lt;object id="pdf" data="http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf" width="100%" height="700px" type="application/pdf"&gt;
  &lt;param name="zoom" value="100" /&gt;
  &lt;/object&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I open this file in Chrome.  When I press the button "Go to page 4 and zoom 300%", the embedded pdf will go to page 4 and zoom 300%. When I repeat these two actions in Edge browser, the pdf stays on page 1 without altering the zoom.  I have shared this <code>pdf.html</code> file with other people and they reported the same problem when using IE 11.</p>
  
  <p>How do I get the <code>goAndZoom()</code> function to go to a page in a PDF and zoom in IE and Edge?</p>