how to hide keyBoard if textfield tap in mobile
using javascript
i have in trouble for resolve it
i just use this line to avoid keyboard
<script type="text/javascript">
function hideAndroidKeyboard() {
Android.hideKeyboard();
}
</script>
but i want to hide keyboard from all devices
1 Answer 1
just blur the focus on screen by using this
$(document.activeElement).filter(':input:focus').blur();
for better assistance: go here
answered Oct 12, 2017 at 7:35
Sazid Iqabal
4292 silver badges21 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
lang-js