父窗体:shop.baidu.com
<script type="text/javascript">document.domain = "baidu.com"</script>
$.dialog.open("login.baidu.com/login.aspx", {
id: 'Iframe_Login',
title: '用户登录',
lock: true,
width: 400,
height: 250,
});
子窗体:login.baidu.com
<script type="text/javascript">document.domain = "baidu.com"</script>
$.dialog.close();