$(function(){
		$('#cardid').keyup(function(){/**银行卡四位空隔*/
            var value=$(this).val().replace(/\s/g,'').replace(/(\d{4})(?=\d)/g,"$1 ");    
            $(this).val(value);  
        });
	});

  

相关文章:

  • 2022-02-07
  • 2022-12-23
  • 2021-06-05
  • 2021-12-25
  • 2021-06-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案