0

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

asked Oct 12, 2017 at 7:32
0

1 Answer 1

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
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.