2009年11月27日
摘要: 1 在第N(N>1)层的模态页面中,如果想链接到其他页面或者刷新当前页,只能用window.name = "__self"; window.open(window.location.href, "__self") //注意是2个下划线替换 location.href 2 当需要关闭第N(N>1)层的模态窗口,并刷新第N-1层的模态页面时, 为防止刷新时弹出新窗口, 可以通过returnValue 以传递返回值给第N-1层模态窗口,来确认是否需要刷新在按钮的提交事件中:代码Code highlighting produced by Actipr 阅读全文
posted @ 2009-11-27 18:27 牦牛 阅读(1184) 评论(0) 推荐(0) 编辑