hallo, ich bin absoluter javaskript neuling, habe einige tutorials u.s.w. gelesen, allerdings harke ich bei formularen...
ich hab mal gebaut:
is das totaler schwachsinn oder wie kann ich das machen? ^^
ich hab mal gebaut:
Code:
<script type="text/javascript">
<!--
b=document.testform.b.value;
a=document.testform.a.value;
c=a+b;
document.write("Ergebniss:"+c);
//-->
</script>
<body>
<form method="POST" name="testform">
a<input type="text" name="a" size="20">
b<input type="text" name="b" size="20"></p>
</form>
is das totaler schwachsinn oder wie kann ich das machen? ^^