A big request to the specialists in js help. Suppose with XHTML everything is clear: there is, let's say, a list of elements, each of which can respond to an onclick event! And how this is implemented in MathML is not clear, the feeling is that this onclick does not work with MathML at all!

    1 answer 1

    Not 100% sure of my own correctness, but HTML (XHTML) and MathML both being xml applications, have different goals - HTML (XHTML) markup languages ​​interpreted by browsers into a human-friendly form, where JavaScript is executed by the browser and operates with DOM, while while MathML is designed to store structured data, as well as XML. JavaScript will not operate with them, if only because the structure of the object model is different. Here are a couple of links:

    1. Xhtml
    2. Dom
    3. XML