ich hab dazu was gebastelt, aber es funktioniert nicht:
<script type="text/javascript">
function resetinput() { document.getElementById("sf").value = ""; }
</script>
<form action="archiv.php" method="post">
<table valign="center" width="100%">
<tr>
<td>
Belegart: <input id="sf" type="text" name="doctype" value="<?php echo $_POST['doctype']; ?>" />
</td>
<td>
Nummer: <input id="sf" type="text" name="nr" value="<?php echo $_POST['nr']; ?>" />
</td>
<td>
Datum: <input id="sf" class="tcal" readonly="readonly" type="text" name="date" value="<?php echo $_POST['date']; ?>" />
</td>
<td align="right">
<input type="submit" />
<input type="reset" onclick="resetinput();" />
</td>
</tr>
</table>
</form>
kennt sich hier jemand besser damit aus? in versch. tutorials ist das genau so beschrieben..

Hilfe
Neues Thema
Antworten

Nach oben



