0

在 textarea 中的 focusout 事件后未触发单击事件。Tabs and button点击无效。小提琴在这里

制作步骤:

聚焦到文本区域并单击弹出窗口中的任何选项卡或按钮。

4

1 回答 1

1

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);
}

see updated fiddle

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

于 2013-09-18T06:10:36.547 回答