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);

	})

 

你可能感兴趣的:(window.showModalDialog 传递实体对象 获取数据)