Skip to content

MathJax and form input

pkra edited this page May 18, 2013 · 2 revisions

From https://groups.google.com/d/msg/mathjax-users/9n-w-PUc4Yo/Tun-IvWr_CUJ


Hello. I get an error like "Error parsing MathML: error on line 6 at column 66: Opening and ending tag mismatch: input line 0 and mtext" if I use input fields inside MathML code. Example: ... <mtr><mtd><mtext><input type="text" size="5" maxlength="10" id="p1" value="0" /></mtext><mtd/></mtr> ...

The same code runs on Firefox without problems.

How can I solve this problem?

Best regards.


Unfortunately, I'm affraid MathJax does not support this syntax. However, you might want to try this extension:

https://github.com/leathrum/mathjax-ext-contrib/tree/master/forminput

Fred

Clone this wiki locally