Habe ein Problem auf das ich nicht komm:
folgender code funktioniert nicht - wo liegt denn der fehler?
PHP-Code:
<html>
<head>
<script language="JavaScript">
function delout() {
document.eingabe.submit();
document.eingabe.input.focus();
document.eingabe.input.value='';
document.eingabe.input.select();
return(false);
}
function WndClose()
{
document.forms['eingabe'].input.value="/q";
document.forms['eingabe'].submit();
}
</script>
</head>
<body text="#ffffff" LINK="#ffffff" ALINK="#ffffff" VLINK="#ffffff" onLoad="document.forms['eingabe'].input.focus()" onUnload="WndClose()">
<form action="input.php" target="inputframe" onSubmit="return delout()" method="POST" name="eingabe">
<font style="font-size:4pt;"><br></font>
<input type="hidden" name="cid" value="%cid%">
<input type="text" size="105" name="input" style="background-color: #CCCCCC; border-color: #ffffff; border-size: 1px; color: #000000" autocomplete="off">
<br><font style="font-face:Verdana; font-size:10pt;">
<a href="input.php?cid=%cid%&input=/q" target="inputframe" onClick="document.eingabe.input.focus()">Chat verlassen</a><br>
</font>
<font style="font-face:Verdana; font-size:10pt;"></font>
</form>
<iframe id="ILframe" name="inputframe" style="position:absolute; top:-10px; left:-10px; width:0px; height:0px; z-index:0;border:0px;"></ifarme>
</body>
</html>
die form wird einfach nicht gesandt.
woran kann es denn liegen,
danke michael