1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
|
<html><head><title>Trainieren</title>
</head><body>
<form name="test" action="" method="POST">
<script>
//count=10;
function Process()
{
if (test.Mut.value < 100)
{
test.Mut.value = (test.Mut.value) - 0 + 10;
}
if (test.T1.value > 0)
{
test.T1.value = test.T1.value - 10;
}
}
</script>
<br>
Mut <p>
<!--webbot bot="Validation" s-data-type="Integer" s-number-separators="." i-maximum-length="3" --><input type="text" size="10" id="Mut" value="10" maxlength="3" name="Mut">
<input type="button" value="trainieren" onclick=Process()>
</p>
<p> </p>
<p>Energie</p>
<p>
<!--webbot bot="Validation" s-data-type="Integer" s-number-separators="." i-maximum-length="3" --><input type="text" id="T1" size="20" maxlength="3" value="100" name="T1"></p>
</form>
</html> |