activeElement supported by fx3
フォーカス管理 API がサポートされました。 bug 337631 仕様 * activeElement * hasFocusに
フォーカス管理 API がサポートされました。 bug 337631 仕様
* activeElement
* hasFocus
って書かれてました。わーい。
window.getSelection().focusNode
だとform要素の中にフォーカスがあるときにうまく取れなくないですか?
Bug 337631 – Support document.activeElement and document.hasFocus (IE's focus model)に書かれてる Jesse Ruderman » Finding the textarea selectionに
Am I missing a sane solution that works in current versions of Firefox?
って書かれてる通りfx2では無理みたい...
いまフォーカスがあるinputタグにkeypressメッセージとか送りたいんだけど... fx3待ちか。