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
Tag: replace method
How to replace a value from “” X “” format
During the image sync for an item at the time of integration, the response of Image Id was getting like “”13″”. to retrieve the value we can use “replace” method in Javascript. syntax : responce.replace(/^”(.*)”$/, ‘$1’); By doing so we get the value 13 from “”13″”