imputation:<%@ page contentType="text/html;charset=gb2312" %>

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/30 13:24:56
<%@ page contentType="text/html;charset=gb2312" %>
<html>
<head>
<title>05网管--留言本</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript">
function checkform()
{
if(form.name.value=="")
{
alert("请输入你的姓名!");
form.name.focus();
return false;
}
if(form.headima[0].checked==false&&form.headima[1].checked==false)
{
alert("请选择你的头像!");
return false;
}
if(form.content.value=="")
{
alert("请输入留言内容!!");
form.content.focus();
return false;
}
return true;
}
</script>
</head>
</html>
那里出错啊 高手帮帮忙

给出什么提示了?