Jqmath

编程入门 行业动态 更新时间:2024-10-23 19:32:18
本文介绍了Jqmath - 页面加载后应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在初始页面加载后应用 jqMath 脚本.

I would like to apply the jqMath script after the initial page load.

我遇到的问题是我进行了 ajax 调用它检索一些 jqMath 语法并将其加载到主页的 div 部分.

The problem I have is that I make an ajax call which retrieves some jqMath syntax and loads it into a div section of the main page.

但是,目前还没有解析语法.如何确保在 ajax 调用返回时可以触发 jqMath并应用于适当的 div 部分?

However the syntax is not currently being parsed. How do I ensure jqMath can be triggered when the ajax call returns and applied to the appropriate div section ?

推荐答案

加载myDiv后调用M.parseMath(myDiv);.

例如,jqMath 在初始页面加载后自动执行 M.parseMath(document.body);.

For example, jqMath automatically does M.parseMath(document.body); after the initial page load.

这篇关于Jqmath - 页面加载后应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-03-27 23:47:57,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/712531.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Jqmath

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!