Mathjax在基于Ajax的网页中不起作用 [英] Mathjax not working in Ajax based web page

查看:204
本文介绍了Mathjax在基于Ajax的网页中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Mathjax在以PHP/Ajax完成的Web应用程序中显示方程式.第一次加载页面时,方程式正确呈现.在同一页面中,当用户单击按钮时,Ajax代码可从数据库中获取一些数据并将其显示在同一页面上. ,而是显示为乳胶代码.但是,如果刷新页面,则方程式正确呈现.如何解决此问题?

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?

推荐答案

请参见在页面上修改数学以获取详细信息.

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

这篇关于Mathjax在基于Ajax的网页中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆