在IE6,7,8中用
ScriptManager.RegisterClientScriptBlock(UpdatePanel1, this.GetType(), "cy1", "var parDocument=window.dialogArguments.document.getElementById;", true);ScriptManager.RegisterClientScriptBlock(UpdatePanel1, this.GetType(), "cy2", "if(parDocument('MainContent_TextCustomerID')!=null){parDocument('MainContent_TextCustomerID').value = '" + CustomerID + "';};", true);这个能把弹窗中的CustomerID传到父窗口中的MainContent_TextCustomerID控件上。在IE9中这个就报错传不了值了。
请问该如何在IE9中正确传值。请直接修改上面的代码实现,不要网上的资料。