Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mathjax not working in Ajax based web page

I'm using Mathjax to display equations in a web application done in PHP/Ajax. The equations are rendered correctly when the page is loaded first.In the same page, when user clicks a button, an ajax code works to fetch some data from database and display it on the same page.But, there the equations are not displaying correctly, instead the latex code is shown as such.But if i refresh the page, then the equations are rendered correctly.How can i solve this issue?

like image 744
LS Developer Avatar asked Nov 16 '11 12:11

LS Developer


1 Answers

See the MathJax documentation on modifying math on the page for details.

like image 63
Davide Cervone Avatar answered Oct 26 '22 07:10

Davide Cervone