【问题标题】:jQuery: is an element in focus? [duplicate]jQuery:是焦点元素吗? [复制]
【发布时间】:2011-08-09 13:19:41
【问题描述】:

可能重复:
Using jQuery to test if an input has focus

我有一个输入元素,我想询问它当前是否处于焦点,而不修改已经处于焦点的内容。

【问题讨论】:

    标签: javascript jquery html


    【解决方案1】:

    这有时可能很难确定,但这里有一个应该有帮助的答案:

    Using jQuery to test if an input has focus

    【讨论】:

      猜你喜欢
      • 2017-04-09
      • 1970-01-01
      • 2012-12-26
      • 1970-01-01
      • 1970-01-01
      • 2011-10-06
      • 2012-07-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多