1)A.html
http://www.w3.org/1999/xhtml">
<script language="javascript" type="text/javascript">
var x = { name: "dhz", age: 30 };
window.showModalDialog("B.aspx", x, "scroll:no;help:no;unadorned:yes");
</script>
2)B.aspx
http://www.w3.org/1999/xhtml">
<script language="javascript" type="text/javascript">
</script>
3) s.aspx
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
http://www.w3.org/1999/xhtml">