try
<%@ Language="JavaScript" %>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head><body>
<p>姓名:<%name1=Request("name").Item != null? Request("name").Item :"";%><%=name1%></p>
<p>性别:<%xingbie=Request("xingbie1").Item != null ? Request("xingbie1").Item.toLowerCase() :"";%>
<%if(xingbie =="true")
Response.Write ("男");
else
Response.Write("女");
%></p><p>省份:<%shengfen1=Request("shengfen").Item != null ? Request("shengfen").Item:"";%><%=shengfen1%></p><p>爱好:<% aihao1_1=Request("aihao1").Item != null? Request("aihao1").Item.toUpperCase():"";
aihao2_2=Request("aihao2").Item != null? Request("aihao2").Item.toUpperCase():"";
if (aihao1_1=="ON")
Response.Write("电脑"); if (aihao2_2=="ON")
Response.Write(" 看书"); if (xingbie=="true" && aihao1_1 != "ON" && aihao2_2 != "ON")
Response.Write ("他没有爱好!");
if (xingbie != "true" && aihao1_1 != "ON" && aihao2_2 !="ON")
Response.Write ("她没有爱好!");
%>
</p>
</body></html>
<%@ Language="JavaScript" %>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head><body>
<p>姓名:<%name1=Request("name").Item != null? Request("name").Item :"";%><%=name1%></p>
<p>性别:<%xingbie=Request("xingbie1").Item != null ? Request("xingbie1").Item.toLowerCase() :"";%>
<%if(xingbie =="true")
Response.Write ("男");
else
Response.Write("女");
%></p><p>省份:<%shengfen1=Request("shengfen").Item != null ? Request("shengfen").Item:"";%><%=shengfen1%></p><p>爱好:<% aihao1_1=Request("aihao1").Item != null? Request("aihao1").Item.toUpperCase():"";
aihao2_2=Request("aihao2").Item != null? Request("aihao2").Item.toUpperCase():"";
if (aihao1_1=="ON")
Response.Write("电脑"); if (aihao2_2=="ON")
Response.Write(" 看书"); if (xingbie=="true" && aihao1_1 != "ON" && aihao2_2 != "ON")
Response.Write ("他没有爱好!");
if (xingbie != "true" && aihao1_1 != "ON" && aihao2_2 !="ON")
Response.Write ("她没有爱好!");
%>
</p>
</body></html>
1,vbs使用的连接符号是& js是+
2,vbs使用的比较符号是 <> = js是 != ==
3,vbs调用函数一般不用(),而js必须用()把参数括起来
以上是比较容易出错的,还要看他们的基本语法差别