Mavengers
Developer's Blog
Sunday, June 22, 2014
Remove all commas from string in jquery
var income = $("#txtincome").val(); //12,000
income = income.replace(/\,/g, '');//12000
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment