Sascha321: Zahlen String

Beitrag lesen

Hallo

Noch mal eine frage zu einem anderem Problem, bei dem folgendem Script bleibt der Wert nicht im Text feld stehen kann mir jemand sagen wieso??

<html>
<head>

</head>

<script type="text/javascript">
<!--

function zeigen()
 {

document.Form1.feld1.value="Hallo Du Da";
     //alert('hallo welt');
 }

//-->
</script>

<body>

<form name="Form1" action="">
<table>
<tr>
 <td>
 <input type="text" name="feld1" value="">
 </td>
 <td></td>
</tr>
<tr>
 <td><input type="SUBMIT" name="button1" value="Los" onClick="zeigen()"></td>
 <td></td>
</tr>
<tr>
 <td></td>
 <td></td>
</tr>
</table>
</form>

</body>
</html>