Fill a <td> with a jquery ajax call
问题 I'm trying to make an ajax call for each of a series of 's and replace the inner html of the td with processed data from the ajax call. As I'm locked to an ecommerce cms system my ajax call is a complete page with the following string: **!#249,00!#349,00**!#5 ltr!#** the code below splits this to: var pprices = ['','249,00','349,00']; var plabels = ['','5 ltr','']; Note: the numbers in pprices uses comma instead of full stop. The problem is that the last line: $(this).html(endprice); fills