Jquery 实现弹出层

直接上代码,自己做的;可以实现多级层的显示:

<script type="text/javascript">
          $(function () {
              $("#dialog:ui-dialog").dialog("destroy");
              $("#acc").hide();
              $("#abb").dialog({
                  // autoOpen: false,
                  height: 140,
                  850,
                  buttons: { "下一步": function () {

                      $(this).dialog("close");
                      $("#acc").dialog({
                          modal: true,
                          height: 140,
                          buttons: { "完成": function () {
                              $(this).dialog("close");
                              CSmethod();
                          }
                          }

                      })
                  }


                  },
                  modal: true

              });
          });

原文地址:https://www.cnblogs.com/wycoo/p/2368003.html