hvad faén er der galt ????
jeg har lavet ern side der ser sådan her ud:<html>
<script SRC="System.js">
</script>
<script language="Javascript">
function sms(){
window.open(''/sms.asp'',''_blank'',''toolbar=no,status=no,location=no,resizable=no,scrollbars=yes'')
}
</script>
<script
language="JavaScript">
<!--
var tid = new Date();
var tid2 = tid.getTime();
var nr = 0;
function tjek(){
tid = new Date();
var pause = tid.getTime() - tid2;
tid2 = tid.getTime();
document.getname.mode.besked.focus();
document.getname.mode.besked.value = document.getname.mode.besked.value;
document.getname.mode.besked.value='''';
if (pause<800){nr++;document.getname.mode.value='''';return false;}
if(nr>5){
alert(''Du er logget af\n\Da du skræv lidt for hurtigt.'');
location.href = ''chat.asp?mode=send&besked=/logoff''
}
return true;
}
// -->
</script>
<head>
<title>name_frame</title>
</head>
<body bgcolor="#000000" text="#FFFFFF" link="#FFFF00" vlink="#FFFF00" alink="#FFFF00"
background="Background.JPG">
<form ACTION="Chat.asp" NAME="getname" target="chat_frame" onsubmit="tjek()">
<input type="hidden" name="mode" value="send"><div align="center"><center><table
border="0" cellpadding="2" cellspacing="0" width="96%">
<tr>
<td width="88%" checked="false"><font face="Arial" color="#FF00FF"><strong><small>Velkommen
til Krüger Chat</small><br>
<img src="line.jpg" width="574" height="1"></strong></font></td>
<td width="12%"></td>
</tr>
<tr>
<td width="88%" checked="false"><small><strong><font face="Arial" color="#ffffff">Besked :</font></strong> </small>
<br>
<input TYPE="text" SIZE="35" NAME="besked" value> <input TYPE="submit" VALUE="Send">
<input TYPE="reset" VALUE="Slet"></td>
<td width="12%"></td>
</tr>
<tr>
<td width="88%" checked="false"><input TYPE="Button" VALUE="Hjælp"
ONCLICK="java script:Hjaelp()"> <input TYPE="button" VALUE="Status"
ONCLICK="java script:Status()"> <input type="button" value="SMS" onclick="sms()"> <input
type="Button" value="Log Af"
onclick="location.href=''chat.asp?mode=send&besked=/logoff''"> </td>
<td width="12%"></td>
</tr>
</table>
</center></div>
</form>
<p> </p>
</body>
</html>
så når jeg trykker på send, kommer den og siger at der er fejl i linie 21 hvad er der galt, kan du skrive scriptet om ???
/Andreas