各位大侠,小妹在此多谢各位的侠义相助了.
ASP.NET,我要在关闭主窗口时候,改变个人用户登陆表此用户的在线状态.我要找到关闭时触发的事件.该怎么办?
HTML 里
function closeSystem()
{
window.opener = null ;
if(window.confirm("确认要退出系统吗?"))
{
if(parent.window != null)
{
parent.window.opener = null ;
parent.window.close();
}
window.close();
}
else
{
return false ;
}
}窗口源码里
//退出系统
strHtml += "<TD vAlign='bottom' align='center' noWrap>";
strHtml += "| ";
strHtml += "<A onmouseleave=unchange(this) onclick=closeSystem() onmouseenter=change(this)>"+"退出系统"+"</A>";
strHtml += "</TD>";
strHtml += "</TR></TABLE>";
ASP.NET,我要在关闭主窗口时候,改变个人用户登陆表此用户的在线状态.我要找到关闭时触发的事件.该怎么办?
HTML 里
function closeSystem()
{
window.opener = null ;
if(window.confirm("确认要退出系统吗?"))
{
if(parent.window != null)
{
parent.window.opener = null ;
parent.window.close();
}
window.close();
}
else
{
return false ;
}
}窗口源码里
//退出系统
strHtml += "<TD vAlign='bottom' align='center' noWrap>";
strHtml += "| ";
strHtml += "<A onmouseleave=unchange(this) onclick=closeSystem() onmouseenter=change(this)>"+"退出系统"+"</A>";
strHtml += "</TD>";
strHtml += "</TR></TABLE>";
解决方案 »
- document.getElementById().value下面的代码不能执行?
- 求大神帮忙
- 如何获取GridView的行,然后循环执行。
- asp.net 能用gzipStream对页面html,js,css文件进行压缩吗?
- Ajax获取的数据,用checkbox展示,如何进行全选操作
- 在ASP.net中产生一组4位的随机数字保证24小时内不重覆
- 这样的需求合适用三层开发吗????
- 请问个asp.net中,listbox控件的问题
- ★★★★为什么服务器端的表单只能提交给自已?
- 一般网站的在线人数的统计是怎么做的?
- xml查询问题,急.......高手帮忙~`
- windows2003下cookie,为何读不到值?
在服务器端事件中处理数据
</Body>
如同 hyj_828(水梦)说的