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