| Home | | Dokumentation | | Codesamples | | Changelog | | Bestellen | | Download | | FAQ | | Impressum | |
| moScript.xml : Tutorial Rechner (Video) |
|---|
<?xml version="1.0" encoding="ISO-8859-1" ?> <root> <form id="myform"> <edit id="field1" x="5" y="30" h="20" w="100" onclick="rechne"/> <edit id="field2" x="5" y="60" h="20" w="100" onclick="rechne"/> <edit id="field3" x="5" y="90" h="20" w="100"/> </form> <script lang="JScript"> <![CDATA[ function init() { mo.LoadForm("myform"); } function uninit() { } function rechne() { field3.text = eval(field1.text + " + " + field2.text); } ]]> </script> </root> |