FireFox下onunload的问题 我也不知道如何根据event.returnValue的返回值来进行判断,而且firefox好像真的有这问题,学习下。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 location=="http://127.0.0.1:8080/tess03/fmus08/actfwfmus080101-0.do"; location="http://127.0.0.1:8080/tess03/fmus08/actfwfmus080101-0.do"; 多了一个等号 你的代码在ie下也无法运行啊...建议改为window.open,我想是在改变location.href的同时又触发了onbeforeunload事件window.onbeforeunload =function(e){ e=e||window.event; e.returnValue='确定离开'; } window.onunload = function(){ window.open("http://127.0.0.1:8080/tess03/fmus08/actfwfmus080101-0.do");//=====================self.close(); //=====================} self.location=="http://127.0.0.1:8080/tess03/fmus08/actfwfmus080101-0.do"; 每次都多一个等号,我笨死self.location="http://127.0.0.1:8080/tess03/fmus08/actfwfmus080101-0.do"; js怎么读取xml 左右移动图片效果 为什么select 的name 设不进去? 数组随机排序 flot 坐标轴标题显示问题 想找一起聊聊《ExoBUD MP(II) 程式》的朋友!! 让网页一打开就是最大化的 如何让某一部分一直处在最上层? 做瀑布流的时候出现的一个chrome内核浏览器的兼容性问题 easyui中propertyGrid组件怎么修改里面单元格样式 iframe 不能正常显示 用table 实现datagrid功能 跟踪日记
多了一个等号
window.onbeforeunload =function(e)
{
e=e||window.event;
e.returnValue='确定离开';
}
window.onunload = function()
{
window.open("http://127.0.0.1:8080/tess03/fmus08/actfwfmus080101-0.do");//=====================
self.close(); //=====================
}
self.location="http://127.0.0.1:8080/tess03/fmus08/actfwfmus080101-0.do";