当前位置: 代码迷 >> Web前端 >> 运用模式对话框
  详细解决方案

运用模式对话框

热度:294   发布时间:2012-10-08 19:54:56.0
使用模式对话框
    模式对话框,打开不能提交页面的form表单,我在submit的时候,总是提醒说不支持此接口。

    参考了别人的实例,解决了问题,现在记录下来,以备以后使用

//提交处理结果
function submitForm(){

window.name="MyModalDialog";                   
         document.addForm.action = "save.action";
document.addForm.submit();
}

<s:form name="addForm" theme="simple" target="MyModalDialog">
  相关解决方案