弹出登陆框登录成功后怎么使弹出页面关闭并刷新父页面
弹出登陆框登录成功后怎么使弹出页面关闭并刷新父页面 --------------------编程问答-------------------- 你弹出的是一个div吧?
document.getElementById('divId').display='block' --------------------编程问答-------------------- document.getElementById('divId').display='none' //应该是none --------------------编程问答-------------------- 弹出的是一个页面 --------------------编程问答-------------------- jwindow
function OpenWindow(id,width,height)
{
var url = "a.aspx";
OpenJWindow('#openwin', url, width,height, EditClosed);
}
http://topic.csdn.net/u/20090811/23/a0812cf7-4989-408b-b73c-ad6faf458369.html --------------------编程问答--------------------
function closeWin()--------------------编程问答-------------------- function reflesh(){
{
window.close();
window.opener.document.location.reload();
}
{
window.close();
var win = window.dialogArguments;
win.location.reload();
}
------
function close ()
{
window.close();
window.opener.document.location.reload();
}
{
--------------------编程问答-------------------- 谁能给发个例子,谢谢!!!lvhaoailml@126.com --------------------编程问答--------------------
this.Response.Write("<script>alert('登录成功')</script>");
this.Response.Write("<script>window.opener.location.href=window.opener.location.href;window.close();</script>");
补充:.NET技术 , C#