请教一个java的问题`
小弟想实现的功能就是在网页控键中的文本区中按ctrl+回车就自动发提交信息 但是小弟写的这个程序一提交就告诉我
"行: 19
字符: 1
错误: 对象不支持此属性或方法
代码: 0
URL: http://192.168.1.12/shiyan1.asp"
一下是我的源代码,考过去在IIS中浏览一下,请高手帮忙解决..小弟的QQ445897814
<html>
<head>
<title>嘉宾管理页</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Pragma" content="no-cache">
<link href="./admin.css" rel="stylesheet" type="text/css">
Language="JavaScript">
function inputcheck()
{
if (document.vipMessageForm.vipMessage.value == "")
{
alert ("嘉宾发言不能为空!");
return false;
}
}
function KeyDown(){
if(event.keyCode==13&&event.ctrlKey){
document.vipMessageForm.submit();
}
}
</Script>
</head>
<body topmargin=0 marginheight=0 leftmargin=0 marginwidth=0 bgcolor=background>
<table border="1" cellspacing="2" cellpadding="2" align=center>
<form name="vipMessageForm" method="post" action="./vipMessageAdd.asp" onsubmit="return inputcheck()">
<tr>
<td>所属聊天室:</td>
<td>
<font color=red>金黔在线嘉宾聊天室</font> </td>
</tr>
<tr>
<td>嘉宾:</td>
<td>
<font color=red><a href=./vipMessageAdd.php?vipRoomID=20&vipID=81&vipName=爱乐团&vipRoomDir=jqzxvip>爱乐团</a></font>&nbsp;<font color=red><a href=./vipMessageAdd.php?vipRoomID=20&vipID=80&vipName=徐立&vipRoomDir=jqzxvip>徐立</a></font>&nbsp;<font color=red><a href=./vipMessageAdd.php?vipRoomID=20&vipID=79&vipName=王超&vipRoomDir=jqzxvip>王超</a></font>&nbsp;<font color=red><a href=./vipMessageAdd.php?vipRoomID=20&vipID=78&vipName=主持人&vipRoomDir=jqzxvip>主持人</a></font>&nbsp;<font color=red><a href=./vipMessageAdd.php?vipRoomID=20&vipID=82&vipName=网友&vipRoomDir=jqzxvip>网友</a></font>&nbsp; </td>
</tr>
<tr>
<td>
爱乐团: </td>
<td>
<textarea name="vipMessage" rows="11" cols="50" onKeyDown="return KeyDown();"></textarea>
</td>
</tr>
<tr>
<td>谈话时间:</td>
<td>
<input type="text" name="chatTime" value="08:51:32">
</td>
</tr>
<tr>
<td colspan="2">
<div align="center">
<input type=hidden name=vipName value=爱乐团>
<input type=hidden name=vipRoomID value=20>
<input type=hidden name=vipRoomDir value=jqzxvip>
<input type="reset" name="reset" value="重置">
<input type="submit" name="submit" value="添加">
</div>
</td>
</tr>
</form>
</table>
</body>
</html>