且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在不使用 jqueryui 的情况下显示带有“x"的模式对话框

更新时间:2022-11-04 13:43:32

我想你正在寻找这样的东西:

I think you're looking for something like this:

$('.modal .titlebar a').click(function() {
  $(this).parents('.modal').hide();
});

$('button.open-modal').click(function() {
  $('#something').show();
});