Index » Products » LaTeX Equation Editor » CodeCogs 24 May 15, 9:50AMParent PostI suspect you need to escape your '\' in \frac. i.e. document.getElementById('parseContainer').innerHTML = '\\frac{' + x + '+_2' +y + '_2}{2}'