I am working on web base mobile (HTML) application. Is there any way to detect keyboard event like when keyboard is visible and keyboard hide, base on that I can control o
if($(document.activeElement).attr('type') == "text"){ console.log("Keyboard is visible"); }else{ console.log("Keyboard is not visible"); }