在 textarea 中的 focusout 事件后未触发单击事件。Tabs and button
点击无效。小提琴在这里。
制作步骤:
聚焦到文本区域并单击弹出窗口中的任何选项卡或按钮。
Not the nicest solution but you can delay the toggling of the classes like this
function f2() {
setTimeout(function() {
field.removeClass("c2").addClass("c1");
},200);
}
The reason that it happens is exactly the same as in your question from a few hours before. The only difference is that you have jQuery UI tabs now instead of a button