解决方案 »

  1.   

    什么左边右边的,右边是iframe?
    如果是iframe,那右边iframe的name值是什么?用   iframe的name值.location.href=要跳转的页
      

  2.   

    方法很多啊
    可以采用ajax实现
    也可以采用iframe实现啊
      

  3.   

    就类似target=“right”的功能,但是我不知道怎么修改
      

  4.   

     <a onclick="newPage()"  target=“right” style="cursor:pointer" href="<%=basePath%>newpage.jsp"><script type='text/javascript'>
    function newPage()
    {
        $.post('<%=hostPath%>/Login/syncSession.action',function(){});
    }
    </script>
      

  5.   

    谢谢你啊,可以实现的,这样的话,下面的function(){}是不是就没用了?(我待会自己试试)
      

  6.   


    function newPage()
    {
       //syncSession中配置result路径为:newpage.jsp
        $('#newsDiv').load('<%=hostPath%>/Login/syncSession.action');
    }
       <!-- 这个div css将它放到右边即可 -->
       <div id="newsDiv"></div>
      

  7.   


    你的target=“right”中的right不是就name值吗$.post('<%=hostPath%>/Login/syncSession.action',function(){right.location.href='<%=basePath%>newpage.jsp'});明白?