ich ham mom diese script:
PHP-Code:
<html>
<head>
<script language="JavaScript" type="text/JavaScript">
function delout() {
document.eingabe.submit();
alert(document.eingabe.input.value);
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();
delout();
return(false);
}
</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()">verlassen</a><br>
</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>
ich bekomm jedes mal beim senden die messagebox mit der meldung. auch beim schließen bekomm ich die messagebox mit dem inhalt "/q".
leider ist das prob, dass es aber nicht an den server gesendet wird. ich hab keine ahnung warum.
vll findet ihr was, danke Michael