with javascript
I found a desktop for IOS7 iPad. I will test on iOS8 to make sure it works. So basically I create a listener in every FOCUSOUT event (for all my texts), and I call my function.
It fires when you open the keyboard and close the "keyboard." It does not fire when you select another text field or button, because it is aimed at zero. If you use in combination with keydown, you can save several values ββand call the send function only when you release the keyboard.
document.addEventListener('focusout', function(e) { if (e.relatedTarget == null){ alert("close keyboard without click on something else"); callYourFunction(); } });
Mercurio cromo
source share