onSubmit="refreshL( 'leftFrame' , '/left.php' );"function refreshL( frameId , linkTo ){
    getElementById(frameId).src = linkTo;}

解决方案 »

  1.   

    echo "<script>parent.left.location.reload()</script>";
      

  2.   

    index.html:
    <frameset rows="*" cols="170,*" framespacing="0" frameborder="1" border="false" id="frame" scrolling="yes">
    <frame name="left" scrolling="auto" marginwidth="0" marginheight="0" src="left.html">
    <frame name="right" scrolling="auto" src="right.html">
    </frameset>
    left.html:
    <script>
    alert('refresh');
    </script>right.html:
    <script>
    function leftRefresh()
    {
        parent.left.location.reload();
    }
    </script>
    <input type="button" onclick="leftRefresh()" value="刷新">