I\'m trying to remove the comma from a number.
var thisbill_str = \"\"; thisbill = $(\'#linebill_\' + z).val(); if (isNaN(thisbill) ) { thisbill = 0.00; } thi
TypeError: thisbill_str.replace is not a function
thisbill_str can't be coerced in to a String object, therefore it doesn't have the replace method.
thisbill_str
replace
Is the value of thisbill_str null?