Jqmath not loading correctly

后端 未结 2 527
难免孤独
难免孤独 2021-01-25 09:21

I have included the following on my html page:

 


        
相关标签:
2条回答
  • 2021-01-25 09:58

    Change your second <script> element to:

    <script src="../js/jqmath-etc-0.4.3.min.js" charset="utf-8"></script>
    

    As alljamin suggests, you'll see basically this in COPY-ME.html. The key is the charset="utf-8", required if you don't have a <meta charset="utf-8"> in your html file (but you probably really should).

    0 讨论(0)
  • 2021-01-25 10:03

    I was getting the same error as you did with your code.

    If you download jqMath and open the COPY_ME.html in the downloaded folder, you should be able to see the structure of the html and how to make changes to it. Everything works fine there.

    The example provided on jqMath official website uses jQuery 1.4.3 and your example uses jQuery 1.12.1, I am not sure but that could be the issue.

    I hope this helps.

    0 讨论(0)
提交回复
热议问题