Replace is not a function error

To correct invoice details page issue is only for invoice with status unapproved payment status. The invoicedetailview is extended for an update. There showing an error replace is not a function error ” jQuery.Deferred exception: amount.replace is not a function TypeError: amount.replace is not a function”. amount = amount.replace(/,/g, ”); code was getting error To… Continue reading Replace is not a function error