给DIV加上id和style属性<DIV id="div" style="display:none;">
......
</DIV>点击显示DIVfunction display(){
document.getElementById('div').style.display="inline";
......
}重写后退事件,让DIV不显示function window.history.back(){
document.getElementById('div').style.display="none";
window.history.go(-1);
}
......
</DIV>点击显示DIVfunction display(){
document.getElementById('div').style.display="inline";
......
}重写后退事件,让DIV不显示function window.history.back(){
document.getElementById('div').style.display="none";
window.history.go(-1);
}
解决方案 »
- struts2,extjs
- 在线等。。。struts2 与json 转换的问题。。答对后。。马上加分。。
- 学习java出去工作,哪些知识是必须掌握的
- Hibernate的map映射报错
- html:javascript与jsp:include冲突,怎么解决
- Linux下C语言开发与Windows下java开发,哪个更有前途?
- 不能调用servlet的问题,我在线等请大家帮忙!!
- 关于Struts 单元测试的问题
- 虚拟路径
- 有没有大神帮忙看一下java后端调用api的问题~~谢谢~~
- hibernate + mysql 中怎么实现sql server中 top查询的结果,
- JSF+Hibernate问题
要具备‘多交流,多发言’,能互相讨论 和解决问题能力的有志人士,
不具备者,下岗。。本群号:22206225
replace(URL) - 促使浏览器根据 URL 参数中给出的地址 (URL) 下载页面,同时在当前浏览器存储的历史记录 (即所浏览过的页面的列表) 中使用新的地址(即此方法中的 URL 参数) 覆盖当前的页面。
使用 replace() 方法意味着用户将不能通过按 “返回” 按钮回到前边浏览过的那个页面,但这并不是说用户完全不能回到原来的所有页面,他们只不过是无法回到被 replace() 方法替换的那一个页面 (注意:只是被替换的那一个页面)。