Crossbrowser equivalent of explicitOriginalTarget event parameter

后端 未结 6 716
北海茫月
北海茫月 2020-12-02 00:00

Does anyone know of crossbrowser equivalent of explicitOriginalTarget event parameter? This parameter is Mozilla specific and it gives me the element that caused the blur. L

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-02 00:05

    Looks like it is more designed for extension writers than for Web design...

    I would watch the blur/focus events on both targets (or potential targets) and share their information.
    The exact implementation might depend on the purpose, actually.

提交回复
热议问题