diff --git a/kniffel/inc/helper.js b/kniffel/inc/helper.js new file mode 100644 index 0000000..5c2d58c --- /dev/null +++ b/kniffel/inc/helper.js @@ -0,0 +1,8 @@ +function moeglicheWuerfeZuruecksetzen(){ + document.getElementById('erlaubteVersuche').innerHTML = '3'; + document.getElementById('CheckBoxWuerfel1').checked = false; + document.getElementById('CheckBoxWuerfel2').checked = false; + document.getElementById('CheckBoxWuerfel3').checked = false; + document.getElementById('CheckBoxWuerfel4').checked = false; + document.getElementById('CheckBoxWuerfel5').checked = false; +} \ No newline at end of file diff --git a/kniffel/index.html b/kniffel/index.html index 9b78b77..35161d6 100644 --- a/kniffel/index.html +++ b/kniffel/index.html @@ -5,6 +5,7 @@ +