开发者

event for all jQuery UI dialogs in a page

Is it possible to write a code for for example close event of all jQuery UI dialogs 开发者_如何学编程in a Page?


It is indeed possible. You can do something like:

$(".ui-dialog-content").live("dialogclose", function() {
    // Do something.
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜