Mit der "Alert"-Funktion lassen sich Rückmeldungen in einem GeoGebra-Applet schnell und schick wiedergeben.[br][br]Der Befehl [b]ggbApplet.getValue("[/b][i]Variablenname_in_GeoGebra[/i][b]");[/b] überträgt den in der GeoGebra-Umgebung festgelegten Wert in die JavaScript-Umgebung.[br][br]Der Befehl [b]ggbApplet.setValue("[/b][i]Variablenname_in_GeoGebra[/i][b]", [/b][i]Variablenwert_in_der_Skripting-Umgebung[/i][b]);[/b] überträgt den in der JavaScript-Umgebung festgelegten Wert in die GeoGebra-Umgebung.[br][br]Damit lassen sich Werte zwischen der GeoGebra- und der JavaScript-Umgebung übertragen.[br][br]Das nachfolgende Applet dient als Vorlage. Du kannst es über die drei Punkte [b]⫶[/b] (oben rechts) direkt in der App (in einem neuen Fenster) öffnen und dort parallel weiterarbeiten:[br][img]data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPwAAAGkCAYAAAAVAUhJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAADreSURBVHhe7Z0PkBTXfed/i0ACyfqDlNg73OJkQYljYa7sBds7W+DYc+xVfAmJ2MluHbNVIgQ72EX5T21xZVd2WMmrWVe4oqjYKV2CZKJDdztcsTeDzyhx6pYauwLZ2ajQ2pU1sh1jRmcws5ETIwkhkIS0936v35t509vzv2d3evr7oR79+r3u1z29/X2/3/v1v7Z5AQEAWppXX31VTpfJ/wEAvgCCB8BHwKUHYIl4JztHbz77bXrjb75N71zJynnN7b/3Sbrjdz8pp26gXXoIHoBFhoV9ffSrUuyVwKK/+y+/ruZqA4IHYAm49fz36NpnP19gzSuFRV+rxUfQDoBF5uZTT9MrDw/UJHaGOwpuox5g4QFYBNh9Z8G6wb3fPEHLN31IzVUGXHoAFpGrH9nqaNmXBdpp1af/WLrqnGfY7b818305zneCl1v93Bk1VxkQPACLBAvXyRVnK83jci10J9grcAruVRvIg+ABWCT+be1vqFyeagTL4362+nYeuPQTlSsPBN9Ez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/rEOSClSPXG51S7ryRECQEZYDgXaGdQjuE+x40g2NinB2MUqxXiHB6LGfVrc5BZbtDFBOWep8R3EsfN4N2ReD1RnqMNgGoDAi+BqLCQmtXWrvo7TsTlI3PUE+u3AqqyRtnOjppJreOFaSzbqgJ0rAK7um2ei5U4uKL9S6NG21yskfxAViIJ++0O3bsGL3wwgtqrjgPPfQQ7dq1S80B0Fr45k47vp++EipdDgC/4EkLz9y4cYOy2ayaW0ggEKBVq1apOQBaD188HgsAsMDDMwCAkkDwAPgICB4AHwHBA+AjIHgAfAQED4CPcEXwOvQPAFhcqtVeTYKHwAFoTsppEy49AD4CggfAR9QleNN9gJsPwOJSi/5qFrzeAE8hdgCWBlN/lejQNZceogdgcalFc3W79DoBABafajXoqoW/fv26mgMANBLWWi2GtmrBmz0KJ/3s7fLly+mll15SSwEAGglrjTVnatBMxahY8MUa4Y3xg/e88WvXrsmH8vllGAAA92FtscZYa6w5/dILJ5w0W/EbbxjzrTf6zTe3bt2iN998U75yit+qwem1116TLgeX67fjmOsCAEqjxcpTFjSn22+/ne666y5617veRffcc49M/Bo3Lmfxm5Zer6up+hVXjLko5/Vrrt566y26efOmFD0Lnac8z4Lner1eFZsCwPeYwmVLzsJeuXKlFDkLn6c8v2LFipylN0Vet+AZU7ycWPQseE78fjtOpti5Xi9vp8pNA9DSmALV6DIWsyl6focdJxY7p1LWnalb8Ix21bXoWeAsdM6zq8/lehmmyk0B4GtM8bKgObHrzgJn4XMHYIqdpxrXBM+Yq2hBa2vOQue8nue6GjYBAFCweLWgWeSc9Jid8+XEztQleEavpgWtEwudp3ax6ykAoHK0eE3R81QL3Ux6OSfqFjxjFzOLnOF5M+9EHZsFoGUpJlhdrgWv80w5sTOuCJ4xVzfzWvAAAPco5rqXEjvjmuA19mZcahYAYGAXdjmha1wXvAnEDkDjqFTkJg0VPACgudCCd74JFwDQghD9fx0b5slTHKbSAAAAAElFTkSuQmCC[/img][br][br][icon]https://www.geogebra.org/images/ggb/toolbar/mode_showhidelabel.png[/icon] [size=150][b]Arbeitsauftrag:[/b] Übertragen von Werten[i] (gerne kannst du dein letztes Applet erweitern)[br][/i][/size]Nach Mausklick auf die Schaltfläche soll der Wert von a in die JavaScript-Umgebung übertragen, dort um 1 erhöht, dann der erhöhte Wert wieder in die GeoGebra-Umgebung zurück übertragen und dort ausgeben werden. Passe das Skript der Schaltfläche mit den oben genannten Befehlen entsprechend an.
[quote][u]CODE zum Kopieren:[/u][br][color=#6557d2][b]var a = ggbApplet.getValue("a");[br]a=a+1;[br]ggbApplet.setValue("a",a);[br]alert("Der Wert von a ist "+a+".");[br][/b][/color][/quote][u]ZUSATZ:[/u][br]Natürlich könnte man auch folgenden CODE verwenden:[br][color=#6557d2][b]var a = ggbApplet.getValue("a");[br]ggbApplet.setValue("a",a+1);[br]alert("Der Wert von a ist "+a+".");[/b][br][br][/color]In diesem CODE versteckt sich ein kleiner Denkfehler - probiere ihn doch einfach mal aus und überlege dir, warum Wert und Ausgabe nicht übereinstimmen.[br][br][br]Hier gehts zum Lösungsvorschlag:[br][url=https://www.geogebra.org/m/pm9eefew]https://www.geogebra.org/m/pm9eefew[/url]