GeoGebra JavaScript evaluation and XML modification demonstration,

by Michael Horvath


Edit the JavaScript and XML source code in the text fields. Press the various buttons to retrieve or update the XML source, as well as evaluate some JavaScript.

A full list of JavaScript commands available for use within an HTML file can be found here. A description of the GeoGebra XML file format can be found here. A list of regular commands can be found here.

Note that, with a few exceptions, the JavaScript commands can all be executed from within the "Global JavaScript" of the "Scripting" menu.

XML code cannot be modified while a worksheet is open and running. Instead, you need to extract the XML file from a GGB file using 7-Zip or some other archive tool.



XML Code

Creative Commons License LGPLv3 License
Content is licensed under a Creative Commons Attribution-Share Alike 4.0 Unported License. Software is licensed under a GNU Lesser General Public License version 3.