开发者

Trigger the event which happens when I click the 'x' button on a TinyMCE modal dialog (like the advimage dialog)

Please see this comment and the rest of the thread: [ques开发者_开发知识库tion]: TinyMCE Image URL select

Thank you!


The 'x'-Button element is the element you get using $(".mceClose"). So you are able to assign an event handler there (you need to assign the handler when the dialog is open/visible) else you won't find such an element and the assignment will fail. Here it is:

$(".mceClose").click(function() {
  alert('Handler for .click() called.');
});
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜