Mathjax render only on first page of the data table

Viewed 1073

I am using a datatable to show maths questions. The max Equations are added as latex Method. I use the below Js script to render Mathjax equations,

<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]}

  });

</script>
<script type="text/javascript" async src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML-full"></script>

but in the datatable the first pagination only shows the correct rendered equations,next all pages are showing the latex.

1 Answers
Related