开发者

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

开发者 https://www.devze.com 2023-03-17 01:10 出处:网络
Please see this comment and the rest of the thread: [ques开发者_开发知识库tion]: TinyMCE Image URL select

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

精彩评论

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