1

I am having a problem updating my page lay-out through JavaScript. I am editing an embed object (a YouTube video) to allow overlaying div's using wmode="opaque". I am running in to a problem with Google Chrome, I edit the HTML using JavaScript, but the embed object stays in the foreground. Then we I edit the HTML (using the Developer Tools) with random changes like adding a return the embed element is reloaded and the behaviour is as expected.

Does anybody know how I can resolve this issue? I already tried using window.location.reload(false);, but that just refreshes the page with the version from the server.

Thanks in advance!

4

0 回答 0