问题
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?
回答1:
See the MathJax documentation on modifying math on the page for details.
来源:https://stackoverflow.com/questions/8151318/mathjax-not-working-in-ajax-based-web-page