I want to detect a keyboard of a smartphone when it comes up.
now i got this, if the input is focussed then it does something
<script>
$( "#gebruikersnaam" ).focus(function() {
$("#header").css("display", "none");
});
$( "#gebruikersnaam" ).focusout(function() {
$("#header").css("display", "block");
});
$( "#wachtwoord" ).focus(function() {
//alert( "Wachtwoord" );
});
$( "#hwachtwoord" ).focus(function() {
//alert( "herhaal wachtwoord" );
});
</script>
is there a way if the keyboard is coming that jquery or css can detect it? this code works for 80% but if i use the back button instead of unfocus the code doesn't work.