parent.window.closeAddUserGroup(); 上面调用父窗体的方法 //alert($(parent.window.document).find("#<portlet:namespace/>addUserGroup")[0].id); y这个找到父窗体的控件