This appears to be an age old problem. But I can't seem to find a solution to it.
I have a page with two iframes on it. They are loading as such:
I then want to post something from the leftIframe to the right and refresh the leftIframe at the same time. This I have done through target frame and onclick function. On the leftIframe I have this:
<iframe id="leftIframe" src="predict_goalkeepers.php" height="900" width="300" frameBorder="0" hspace="0"></iframe>
<iframe id="rightIframe" src="predict_right.php" height="900" width="300" frameBorder="0" hspace="0"></iframe>
This works fine and super duper on Chrome. But when checking on Firefox and IE, the frame is opened in a new window.
<form action="predict_rightframe.php" method="post" name="form1" id="form1" target="rightIframe">
<input type="checkbox" name="goalkeepers" value="1" onclick="this.form.submit(); window.location.reload(true)">
Is there anyway around this?
Any help and I will be eternally grateful.