`
zhxw121
  • 浏览: 62096 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

jQuery去掉金额中的千分位

阅读更多
jQuery去掉金额中的千分位
var newSum = jQuery("#newSum").val().replace(/,|\s/g,'');
只需要这一句代码就可以

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics