javascript - Close keyboard in UIWebView -


i working on web application accessed ios uiwebview. when user touches input text field, uiwebview automatically opens keyboard. fine point.

now when user taps anywhere on page want dismiss keyboard. method this.

i tried following code did not work me -

            $(document).on("tap", function (e) {                  document.activeelement.blur();              });

try

document.foo.bar.myinput.blur(); 

Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -