Edit in JSFiddle

// DATA
var a = "100.000.000";

// FUNCTION
String.prototype.replaceAll = function(search, replacement) {
    var target = this;
    return target.split(search).join(replacement);
};

// replace dot to "string null"
// from 100.000.000 to 100000000

// USAGE
var theCall = a.replaceAll('.', '');

// RESULT
alert(theCall);
console.log(theCall);