js实现主动使input失去焦点

 

  主要解决在手机端,input输入完成,键盘还是弹出状态。

var input = document.getElementById("your-input-id");
input.blur();

posted on 2016-11-03 18:26  Charles.  阅读(96512)  评论(0编辑  收藏  举报

导航