javascript - How to hide keyboard when focus in input in i pad -


correct image how hide keyboard when focus in input in pad

if need pure javascript solution, use line :

document.activeelement.blur(); 

this line removes focus on active element , hiding keyboard.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -