1
votes

I have a form in the order;

  1. Textbox

  2. Dropdown

Now when user moves focus from textbox to dropdown, the keyboard still remains and it kind of hides the dropdown options...

How do I make the keyboard hide (onblur of textbox)

I have already tried window.blur and it does not work.

Please help me. thank you.

1
This is a question for StackOverflow.Matthew Frederick

1 Answers

2
votes

you can try to focus() on a non-text element.

or

$("#yourTextField").blur(); //jquery