9
The first argument to replace() is usually a regular expression.
Use the global modifier:
$('#request_artist').val().replace(/\./g, "");
The method used to replace the string is not recursive, meaning once it found a matching char or string, it stop looking. U should use a regular expression replace.
$("#request_artist").val().replace(/\./g, '');
Check out Javascript replace tutorial for more info.