'hasFocus()' Example : hasFocus « Javascript Methods « JavaScript Reference
- JavaScript Reference
- Javascript Methods
- hasFocus
'hasFocus()' Example
<html>
<body>
<button onclick="alert(document.hasFocus());">HasFocus</button>
</body>
</html>
Related examples in the same category