onclick实现jsp页面跳转的一个问题 jspjavascriptfunction 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 什么左边右边的,右边是iframe?如果是iframe,那右边iframe的name值是什么?用 iframe的name值.location.href=要跳转的页 方法很多啊可以采用ajax实现也可以采用iframe实现啊 就类似target=“right”的功能,但是我不知道怎么修改 <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> 谢谢你啊,可以实现的,这样的话,下面的function(){}是不是就没用了?(我待会自己试试) function newPage(){ //syncSession中配置result路径为:newpage.jsp $('#newsDiv').load('<%=hostPath%>/Login/syncSession.action');} <!-- 这个div css将它放到右边即可 --> <div id="newsDiv"></div> 你的target=“right”中的right不是就name值吗$.post('<%=hostPath%>/Login/syncSession.action',function(){right.location.href='<%=basePath%>newpage.jsp'});明白? js传值的问题? JQuery Validation插件在无Form的情况下如何验证input? 条形码控件在firefox的显示问题 ScriptX打印组件能实现 联机打印吗 静态页面怎么接收post并输出? 小妹又有个简单的问题 只允许填写数字 而且只允许填1-31的数字该如何判断 怎么样控制时间的问题(欢迎高手进入) 这段代码我不懂呀!50分相赠! jquery 访问问题 jQuery 如何获取table中某行下拉框中的值 【【预加载图片显示重复问题,已赋多张截图和源码】】---【求大神解答】 滚动函数计次数
如果是iframe,那右边iframe的name值是什么?用 iframe的name值.location.href=要跳转的页
可以采用ajax实现
也可以采用iframe实现啊
function newPage()
{
$.post('<%=hostPath%>/Login/syncSession.action',function(){});
}
</script>
function newPage()
{
//syncSession中配置result路径为:newpage.jsp
$('#newsDiv').load('<%=hostPath%>/Login/syncSession.action');
}
<!-- 这个div css将它放到右边即可 -->
<div id="newsDiv"></div>
你的target=“right”中的right不是就name值吗$.post('<%=hostPath%>/Login/syncSession.action',function(){right.location.href='<%=basePath%>newpage.jsp'});明白?