Compare document.activeElement with the element you want to check for focus. If they are the same, the element is focused; otherwise, ...
確定! 回上一頁