$("#custdiv").dialog({
                autoOpen: false, //如果设置为true,则默认页面加载完毕后,就自动弹出对话框;相反则处理hidden状态。 
                bgiframe: true, //解决ie6中遮罩层盖不住select的问题  
                width: 755,
                height:450,
                modal: true, //这个就是遮罩效果   
                buttons: {
                    "Close": function () {
                        $(this).dialog("close");
                    }
                }            });
             $("#addcust").click(function () {//点击弹出
                $("#custdiv").dialog('open');
            });页面代码<div id="custdiv" title="客户列表">
<iframe  width="755" height="450" frameborder=0 scrolling="yes" src="customers.aspx">
</iframe>
</div>现在是正常弹出来了,我要的效果是处理完customers.aspx之后值返回,并且关闭层custdiv