在Asp.Net - Q2中显示jquery IFrame时停止代码执行 [英] Stop code execution while showing jquery IFrame in Asp.Net - Q2

查看:76
本文介绍了在Asp.Net - Q2中显示jquery IFrame时停止代码执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的代码



Here is my Code

this.aForms = new Array("Page1.asp",
                "Page2.asp",
                "Page3.asp",
                "Page4.asp");



function Wizard_showDialog()
{
        var form = "PageCancel.asp";
        var frmArgs = "?iAuditID=" + this.iAuditID
            + "&SID=" + this.SID
            + "&PID=" + this.PID
            + "&CGMTO=" + this.CGMTO
            + "&Pers=" + this.Personality
            + "&sGroupName=" + encodeURIComponent(this.sGroupName)
            + "&sTableName=" + this.sTableName
            + "&sFileName=" + encodeURIComponent(this.sFileName)
            + "&sFileType=" + this.sFileType
            + "&sDesc=" + encodeURIComponent(this.sDescription.substring(0,1000))
            + "&dGroupDate=" + this.dGroupDate
            + "&sFieldList=" + this.fieldMap
            + "&sFirstLine=" + this.sFirstLine
            + "&dbDriver=" + this.dbDriver
            + "&dbPath=" + this.dbPath
            + "&sTempDir=" + this.sTempDir
            + "&updateAud=" + this.updateAud
            + "&scopeSN=" + this.scopeSN
            + "&GMT=" + this.ClientGMTOffset
            + "&importLib=" + this.importLib
            + "&atList=" + this.atList
            + "&annAct=" + this.annAct
            + "&MergeTo=" + Audit.MergeTo
            + "&MergeFrom=" + Audit.MergeFrom;

        switch (this.status){
            case "next":
                this.wizPointer = this.wizPointer + 1;
                form = this.aForms[this.wizPointer];
                break;
            case "finish" :
                this.wizPointer = this.wizPointer + 1;
                form = this.aForms[this.wizPointer];
                break;
            default :
                form = "PageCancel.asp";
                break;
        }

    if(typeof(form) != "undefined") {



       var url = form + frmArgs;
            $.showModalDialog({
                url: url,
                dialogArguments: window,
                height: 470,
                width: 400,
                scrollable: false,
                onClose: function () {
                    var returnedValue = this.returnValue;
                    result=returnedValue;
                }
            });



    }
    else{
        objWizard.status ="finish";
        }
}


while (objWizard.status =="next"){
            objWizard.showDialog();
        }



i弹出窗口上有一个下一个按钮,我想停止代码执行,直到我不点击下一个按钮,当我按下下一个按钮时我想在弹出窗口中移动下一页,我有四个步骤来完成这个过程,最后关闭弹出窗口。

提前谢谢。


i have a next button on popup window and i want to stop the code execution until i don nott click on next button and when i clock on next button i want to move next page in popup window like this i have four steps to complete the process and finally close the popup.
Thanks in advance.

推荐答案

.showModalDialog({
url:url,
dialogArguments:window,
height: 470
width: 400
可滚动: false
onClose:function(){
var returnedValue = .returnValue;
result = returnedValue;
}
});



}
else {
objWizard.status = 完成;
}
}


(objWizard.status == next){
objWizard.showDialog();
}
.showModalDialog({ url: url, dialogArguments: window, height: 470, width: 400, scrollable: false, onClose: function () { var returnedValue = this.returnValue; result=returnedValue; } }); } else{ objWizard.status ="finish"; } } while (objWizard.status =="next"){ objWizard.showDialog(); }



i弹出窗口上有一个下一个按钮,我想停止代码执行,直到我不点击下一个按钮,当我按下下一个按钮时我想在弹出窗口中移动下一页,我有四个步骤来完成这个过程,最后关闭弹出窗口。

提前谢谢。


i have a next button on popup window and i want to stop the code execution until i don nott click on next button and when i clock on next button i want to move next page in popup window like this i have four steps to complete the process and finally close the popup.
Thanks in advance.


这篇关于在Asp.Net - Q2中显示jquery IFrame时停止代码执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆