Mathjax not working in Ajax based web page

ぐ巨炮叔叔 提交于 2019-12-05 23:34:46

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!