Good Day. I have an ajax function and return this:
<tr onClick="obtener_articulo('1960|X36-004|X36004|Cheque Horizontal de Bronce 200 WOG de 1/4 " 125 Gramos|0||0|0|Unidad||0.000|0|0||noimage.png')"><td>X36-004</td><td>Cheque Horizontal de Bronce 200 WOG de 1/4 " 125 Gramos</td></tr>
Using javascript i will add that value to a tabla (i can do that already). My problem is the character " beacuse javascript give this error: SyntaxError: unterminated string literal. I need the character " in that value. I am getting that value from database.
I tried to replace " with \" but did not work.