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.');
});
精彩评论