var input_focused = document.activeElement === input && document.hasFocus();. To check whether anything is focused, it's more complex again: var ...
確定! 回上一頁