dialog如何向其href指定的页面传递参数?

	//A页面打开的dialog
  uploadFile:function (title) {
  	var param=100;
        $("#InfoAnalysisAnalysis-dialog").dialog({
            title: title,
            width:750,
            height:400,
            modal: true,
            queryParams:{submitURL:param},  //传递参数
            href: "../html/integratedServices/patentInfoAnalysis/patInfoAnaFile.html"
        });
        $("#InfoAnalysisAnalysis-dialog").dialog("open"); // 打开dialog
        $('#InfoAnalysisAnalysis-dialog').window('center');
    }
	//href指定的patInfoAnaFile.html页面
	var obj=$("#InfoAnalysisAnalysis-dialog").dialog('options'); //获取打开的dialog对象
    var submitURL=obj["queryParams"]["submitURL"]; //获取传递的参数
    console.log(submitURL);

你可能感兴趣的:(dialog如何向其href指定的页面传递参数?)