zoukankan      html  css  js  c++  java
  • window.showModalDialog 传递实体对象 获取数据

    <script type="text/javascript">
                function abc() {
       var docEditor = RTE_GetEditorDocument($("#<%= %>").attr("id"));
                    var paramObj = new Object();
                    paramObj.title = $("#<%=%>").val();
                    paramObj.Type = $("#<%=%> option:selected").text();
                    paramObj.pics = $("#<%= %>").val();
                    paramObj.publishdate = $("val();
                    paramObj.content = docEditor.body.innerHTML;
                    window.showModalDialog("abcd.aspx?para=" + paramObj.pics, paramObj, "dialogWidth=200px;dialogHeight=300px");
                }
               
    </script>
    $(function(){
    	     var param=window.dialogArguments;
    		 if(para!=null)
    		 {
    		    $("#title").html(param.title);
    		    $("#type").html(param.Type);
    	})
    
  • 相关阅读:

    链表
    Codeforces 1290A/1291C
    Codeforces 1291B
    Codeforces 1291A
    Codeforces 1295C
    Codeforces 1295B
    ZJNU 2356
    ZJNU 2354
    ZJNU 2353
  • 原文地址:https://www.cnblogs.com/TNSSTAR/p/2852861.html
Copyright © 2011-2022 走看看