klick to "Aufgabe 2" then the error occurs, but only with Chromium browser, also with android browser and safari.
It works with firefox. When I remove the katex.render() call from the panel, It works....
I think: the form_0 element is not visible, but how can I access form_0 from outside the panel code?
Your example is nice. But can you show me this inside a panel like this:
<div id="pg-Aufgaben_0_1" data-role="page">
<div data-role="panel" data-position="right" data-display="overlay" id="panel-Aufgaben_0_1">
<p>
<span id="form_0"></span>
</p>
</div>
</div>
<div data-role="header">
</div>
<div data-role="content">
</div>
</div>
<script type="text/javascript">
katex.render(" 30 \\cdot 16 \\cdot 3 = 1440",form_0);
</script>
</div>