Eine Frage, wo ist hier der Fehler:
<html>
<head>
<Meta HTTP-EQUIV="content-type" content="text/html; charset=iso-8859-1">
<title>
Home
</title>
<script type="text/javascript">
function lJäger()
{
var x,y,z,a,b,c,d,e,f;
x=parseFloat(document.formular.anzahl.value);
y=parseFloat(document.formular.forschung.value);
c=pasreFloat(document.formular.anzahl1.value);
a=y*10;
b=x*50/100*a;
z=x*50+b;
d=c*150/100*a;
e=c*150+d;
f=z+e;
document.formular.stärke.value=f
}
</script>
</head>
<body bgcolor= "'#336699">
<form name="formular">
Anzahl leichte Jäger:<br>
<input type="text" name="anzahl" value="0"><br>
Anzahl schwere Jäger:<br>
<input type="text" name="anzahl1" value="0"><br>
Waffentechnik Forschung:<br>
<input type="text" name="forschung" value="0"><br>
<input type="button" value="berechnen" onclick="lJäger()"><br>
Stärke insgesammt:<br>
<input type="text" name="stärke" value="0" readonly><br><br>
<input type="reset" value="zurücksetzen">
</form>
</body>
</html>