禁止弹出方法

document.activeElement.blur();

使用

<input type='text' name='text' id='input' />
 
document.getElementById('input').focus(function(){
  document.activeElement.blur();
});