1.

$("#pk_id").val().replace(/\s/gi, '');

 

 

2.
document.getElementById('txt_id').value=document.getElementById('txt_id').value.replace(/\s/gi,'');

 

 

 

相关文章:

  • 2022-12-23
  • 2021-06-29
  • 2021-06-17
  • 2021-10-04
  • 2021-08-06
  • 2022-01-23
猜你喜欢
  • 2021-12-31
  • 2022-12-23
  • 2022-12-23
  • 2021-09-28
  • 2022-12-23
  • 2022-12-23
  • 2022-02-19
相关资源
相似解决方案