菜鸟求救~帮帮我~只给20分,因为只能给20分....
刚学ASP的菜鸟 碰到一个问题解决不了
如何用VBScript判断用户输入的是不是空值?或者让用户只能输入数字?我去网上下载的源代码看的不是很明白 ,JS又不会 麻烦谁能帮帮我啊!
我做了这样一个程序
代码如下:
<html>
<head>
<title> 填写留言 </title>
<link href= "style.css " rel= "stylesheet " type= "text/css ">
<style type= "text/css ">
<!--
.STYLE4 {font-size: 12px}
body {
background-image: url(img/bg_blackblue.gif);
}
.STYLE5 {
color: #000000;
font-size: 14px;
}
-->
</style>
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 "> </head>
<body>
<form action= "addsave.asp " method= "post " name= "add ">
<table width= "359 " border= "0 " align= "center " cellpadding= "2 " cellspacing= "0 ">
<tr>
<td height= "40 " colspan= "2 " align= "center "> <span class= "text3 STYLE4 STYLE5 "> <strong> 填写留言 </strong> </span> </td>
</tr>
<tr>
<td width= "115 "> <P class= "STYLE4 " style= "MARGIN-TOP: 2px; MARGIN-LEFT: 80px "> 姓名: </p> </td>
<td width= "236 "> <input name= "user " type= "text " id= "user "> </td>
</tr>
<tr>
<td> <P class= "STYLE4 " style= "MARGIN-TOP: 2px; MARGIN-LEFT: 80px "> QQ号: </p> </td>
<td> <input type= "text " name= "qq "> </td>
</tr>
<tr>
<td> <p align= "right " class= "STYLE4 "> 主页 : </p> </td>
<td> <label for= "textfield "> </label>
<input type= "text " name= "home " id= "home "> </td>
</tr>
<tr>
<td> <P align= "left " class= "STYLE4 " style= "MARGIN-TOP: 2px; MARGIN-LEFT: 80px "> 邮件: </p> </td>
<td> <input type= "text " name= "email "> </td>
</tr>
<tr>
&