If Not IsNumeric(FaceWidth) Then
Response.Write "<script>alert('头像宽度必须是数字');history.back();</script>"
response.end
end if
验证头像宽度输入
本文介绍了一段用于检查用户输入的头像宽度是否为数字的简单代码片段。如果输入不是数字,则会弹出警告并返回上一页。
If Not IsNumeric(FaceWidth) Then
Response.Write "<script>alert('头像宽度必须是数字');history.back();</script>"
response.end
end if

被折叠的 条评论
为什么被折叠?