I am in need of some code that removes commas from a string. I currently have a variety of numbers in the number_format() for PHP. I use Jquery to post certain things to a updat
This is a clean way to get rid of the commas in one line, without loops.
var cleanNumber = $("#selector").val().split(",").join("");
Hope can help u!