I have the following
2 Iframes in 1 page MainWindow.php
<iframe frameborder="0" allowtransparency="true" name="iframeA" src="page1.php" width="38%" height="800" seamless></iframe>
<iframe frameborder="0" allowtransparency="true" name="iframeB" src="page2.php" width="58%" height="800" seamless></iframe>
page1.php is my content page
and below code is for page2.php
<!DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript">
document.getElementById('iframe1').src = document.getElementById('iframeA').src
</script></head>
<body>
</body>
</html>
When the page on iframeB change to the above javascript code on a page lets say reload.php, it doesn't reload iframeA, nothing happen, inspect element and no javascript error.