急求一个3<=变量<=10的代码
时间:2011-11-18
来源:互联网
<script>
<%if Us.isZx=1 then %>
alert("* 您当前可升合格 <%=UpLevelId%> 级,请您的编号将被系统收回!");
<%
elseif Us.UsTypeId>=3 && Us.UsTypeId<=10 then
%>
alert("* 您好请立即升级!");
<%
end if
%>
</script>
<%if Us.isZx=1 then %>
alert("* 您当前可升合格 <%=UpLevelId%> 级,请您的编号将被系统收回!");
<%
elseif Us.UsTypeId>=3 && Us.UsTypeId<=10 then
%>
alert("* 您好请立即升级!");
<%
end if
%>
</script>
作者: shiftshen 发布时间: 2011-11-18
你不是自己解决了吗
作者: p2227 发布时间: 2011-11-18
Us.UsTypeId>=3 && Us.UsTypeId<=10
作者: zsx841021 发布时间: 2011-11-18
3<=变量<=10?如果小于3不就小于10吗?不知道你要怎么判断?
你可以这么判断:if a<=3 then
response.write "aa"
elseif a<=10 then
response.write "bb"
else
response.write "cc"
end if
你可以这么判断:if a<=3 then
response.write "aa"
elseif a<=10 then
response.write "bb"
else
response.write "cc"
end if
作者: hefeng_aspnet 发布时间: 2011-11-18
else if Us.UsTypeId>=3 and Us.UsTypeId<=10 then
.
.
.
.
<%
end if
end if
%>
.
.
.
.
<%
end if
end if
%>
作者: Linzhe423 发布时间: 2011-11-18
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28