artdialog关闭弹出窗口

打开

function opentree(){
  var dialog = art.dialog({
    title: '选择提交部门',
      content:jQuery("#mygroup").html(),
      id: 'D345'
  });
 }

关闭

art.dialog({id: ‘D345′}).close();

 等同于 art.dialog.get('D345').close();

//jquery-ui dialog关闭方法如下:

html代码:

<div id="dialog" title="Create new user">  
</div>

js代码:

$("#dialog").dialog('close') ;
原文地址:https://www.cnblogs.com/imsomnus/p/3946888.html