ie中属性编辑使用模态窗体
2006-05-22 16:34
281 查看
这是收集的同事说的:
打开:
var rv = window.showModalDialog("xxxxxxx.do?.......","dialogWidth=800px;dialogHeight=750px;help:no;status:no;scroll:no");
提交到一个frame中,这样不会弹出新窗口
<iframe name="tmpPage" border="0" height="0" width="0">
</iframe>
document.singleTaskEditForm.target="tmpPage";
转向到a.jsp,关闭模态窗体
function document.body.onload(){
window.returnValue="ok";
window.close();
}
在打开模态窗体处,捕捉returnValue,并刷新当前form
if(rv!=null)
window.location.reload();
打开:
var rv = window.showModalDialog("xxxxxxx.do?.......","dialogWidth=800px;dialogHeight=750px;help:no;status:no;scroll:no");
提交到一个frame中,这样不会弹出新窗口
<iframe name="tmpPage" border="0" height="0" width="0">
</iframe>
document.singleTaskEditForm.target="tmpPage";
转向到a.jsp,关闭模态窗体
function document.body.onload(){
window.returnValue="ok";
window.close();
}
在打开模态窗体处,捕捉returnValue,并刷新当前form
if(rv!=null)
window.location.reload();
相关文章推荐
- WinForm中窗体定位中使用DesktopLocation属性的优点
- 使用jQuery fancybox插件打造一个实用的数据传输模态弹出窗体
- IE中使用 模态对话框
- CSS中不为人知Zoom属性的使用介绍(IE私有属性)
- 修正IE下使用CSS属性overflow的bug
- Zoom属性的使用介绍(IE私有属性)
- 模态窗口下无法使用ie自带的开发者工具问题
- jquery 模态窗体 有各种属性 和 事件
- 模态窗体使用的心得总结
- 无缝滚动;flash播放器代码(网站使用);QQ帮助代码;Js添加属性IE和firefox的区别
- Asp.net中使用javascrip的模态窗体的一点体会。
- chrome vs IE:谨慎使用float属性
- Asp.net中使用javascrip的模态窗体的一点体会。(转)
- java中使用Properties加载XML文件设置java窗体应用程序的窗体属性
- 使用IE过渡滤镜和CSS3中的RGBA属性完成背景色透明效果
- CSS中不为人知Zoom属性的使用介绍(IE私有属性)
- Asp.net中使用javascrip的模态窗体的一点体会
- 记录:使用IDEA编辑Spring配置文件profile属性时产生的命名重复问题
- 父窗体与子窗体之间的调用-使用模态窗体之间传递多个值
- IE中子栏目使用float属性后背景不能正常显示原因及解决