baboo: Submit / Feld leeren

Beitrag lesen

so und nun?
<html>
<body bgcolor=#ffffff link=#01589b alink=#01589b vlink=#01589b>
<title>kiki</title>
<head>
<script language="JavaScript">
scrollit=true;
function scrw() {
window.scroll (1,90000);
window.setTimeout("scrw()", 100);
};
scrw();
</script></head>
<style type="text/css">
td{font-family:Verdana;font-size:11px;color:#003063;}
body{font-family:Verdana;font-size:11px;color:#003063;}
.txtinput { font-family: Tahoma, Arial, Helvetica; font-size: 8pt; font-weight: color: #000000;  background-color: #ffffff; background-image: url(images/inputback.jpg); border: 1 solid #003063}
.txtinput2 { font-family: Tahoma, Arial, Helvetica; font-size: 8pt; font-weight: color: #000000;  background-color: #ffffff; background-image: url(images/inputback2.jpg); border: 1 solid #003063}
.txtinput3 { font-family: Tahoma, Arial, Helvetica; font-size: 8pt; font-weight: bold; color: #000000;  background-color: #ffffff; background-image: url(images/inputback.jpg); border: 1 solid #003063}
.submit { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; background-color: #ffffff; background-image: url(inputback2.jpg); color: #003063;  border: 1 solid #C0C0C0 }
.w{color:#FFFFFF;}
</style>
<div layer style="position:absolute; left:0px; top:0px; width:101.6%; height:100%; z-index:12">
<table cellSpacing=0 cellPadding=0 width="100%" border=0>
<tr>
<td vAlign=top>
<table class=menu cellSpacing=0 cellPadding=2 width="100%" border=0>
<tr>
<td class=cell_1 vAlign=center width="100%" bgColor=#01589b height=20></td></tr></table>
<table cellSpacing=0 cellPadding=0 width="100%" border=0>
<tr>
<td vAlign=top>
<table cellSpacing=1 cellPadding=0 width="100%" border=0>
<tr>
<td><IMG height=1 src="../fileadmin/images/pixel.gif" width=180></td></tr></table>
<table cellSpacing=0 cellPadding=0 width="100%" border=0>
<tr>
<td bgColor=#aaafb9>  </td>
</tr>
</table>
</td></tr>
</table>
<table cellSpacing=1 cellPadding=0 width="100%" border=0>
<tr>
<td><IMG height=1 src="../fileadmin/images/pixel.gif" width=180></td></tr>
</table></table></table><br>
<center><b><font size=4>DyNAchat</font></b></center><br>
<head>
<script language="JavaScript">
function clearIt(formular) {
formular.submit();
document.f.chatnachricht.value = '';
formular.chatnachricht.focus();
formular.chatnachricht.select();
return (false);
}
</script></head>
<form action="/sendnachricht" target="dchatfenster" name="f" method="POST" onSubmit="return clearIt(this)">
<center><table border=0 cellspacing=2 cellpadding=1 width=480>
<tr><td colspan=3 bgcolor=#01589b><b><font color=#ffffff>Chatfenster</font><b></td></tr>
<tr><td><img src="http://dyn.includers.ch/dynachat/images/left.jpg"></td><td><a href="http://www.incsys.ch" target="_blank"><img src="http://www.incsys.ch/images/banner.gif" border=0></a></td><td><img src="http://dyn.includers.ch/dynachat/images/right.jpg"></td></tr>
<tr><td colspan=3><iframe name="dchatfenster" src=chatfenster frameborder=0 width=100% height=280 style="border-width:1px; border-style:dotted; border-color:#01589b" scrolling="NO"></iframe></td></tr>
<tr><td><img src="http://dyn.includers.ch/dynachat/images/left.jpg"></td><td valign=top><input name=chatnachricht class=txtinput style="width:350px" type=text maxlength=200></input>  <input name="submit" class="submit" type="submit" value="Senden" style="width:100"></input>
<br><input class=txtinput type=hidden name=chattername readonly value=red></input></td>
<td><img src="http://dyn.includers.ch/dynachat/images/right.jpg"></td></tr>
<tr><td colspan=3 bgcolor=#01589b><font color=#ffffff>Sie sind eingeloggt als red - <a href=logout?user=red class=w>logout</a></font></td></tr></table></center>