Answers for "jquery check if focused"

5

check if textbox is focused jquery

var myElement = document.getElementById('myID');
if(myElement === document.activeElement){
    //myElement Has Focus
}
Posted by: Guest on August-01-2019

Code answers related to "jquery check if focused"

Code answers related to "Javascript"

Browse Popular Code Answers by Language