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
Post a Comment