有三种方式:

一、

<input type="text" readonly="readonly" />

二、

<input type="text" onfocus="this.blur()" />

三、

<input type="text"  />
$("#box").focus(function(){
                  document.activeElement.blur();
              })

 

相关文章:

  • 2022-12-23
  • 2021-09-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2023-03-13
  • 2022-12-23
相关资源
相似解决方案