dialog 窗口备份

$.dialog({
                content: 'url:'+addurl,
                lock : true,
                zIndex: getzIndex(),
                width,
                height:height,
                title:title,
                opacity : 0.3,
                cache:false,
                    ok: function(){ 
                    iframe = this.iframe.contentWindow;
                    var item=iframe.$("#item").val();
                    $( this ).dialog( "close" );
                    },
                cancelVal: '关闭',
                cancel: true /*为true等价于function(){}*/
            });
原文地址:https://www.cnblogs.com/xueblvip/p/13503021.html