weixin_33739523 2016-05-30 13:26 采纳率: 0%
浏览 77

在Chrome上使用Ajax的mathml

I am developing an online test engine. In this project I load questions using AJAX. Some questions contain mathematical equations in the form of MathML.

I am using MathJax for rendering the equations.

In FireFox, everything is working fine. In Chrome if the first question contains MathML it renders perfectly but if the question is loaded using AJAX it does not render.

  • 写回答

1条回答 默认 最新

  • 妄徒之命 2016-05-30 19:17
    关注
    MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
    

    This will cause MathJax to typeset the page when it is next able to do so. It guarantees that the typesetting will synchronize properly with the loading of jax, extensions, fonts, stylesheets, and other asynchronous activity, and is the only truly safe way to ask MathJax to process additional material.

    for more information, check MathJax docs

    评论

报告相同问题?

悬赏问题

  • ¥15 c程序不知道为什么得不到结果
  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置