I want to update one iframe from another. I have a link in one iframe which should update the content of the other iframe. There is link in checkresult.html which should update the statusmessage.html.
<table width="100%">
<tr>
<td width="10%">
<iframe id="test" src ="checkresult.html" height="1000px" width="100%" frameborder="1">
</iframe >
</td>
<td align="left" width="80%">
<iframe id="msgstatus" name = "test" src ="StatusMessage.html" align="left" width="100%" height="1000px" frameborder="1" >
</iframe></td>
</tr>
</table>
If you would like a link in one frame to open in another, you need to refer to the other’s
nameattribute in the link’stargetattribute. So in this case, a link incheckresult.htmlwould need to have a target oftestto open in themsgstatusframe: