$(document).ready(function (){//通用方法去输入框前后空格
$("form").on("change",function () {
$("form input[type=text]").each(function () {
this.value=$.trim(this.value);
});
})
});

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-03-01
  • 2021-12-29
  • 2022-03-06
  • 2022-12-23
  • 2021-10-26
相关资源
相似解决方案