用ASP制作时怎么让输入密码的时候为星号

2025-03-10 10:00:50
推荐回答(4个)
回答1:

改成如下代码即可:


method="post"
action="2.asp">
align="center"
class="STYLE8">欢迎访问,请输入您要注册的用户名和密码!



align="center">class="STYLE4">用

名:
tpye="text"
name="username"
size="10">


align="center">
class="STYLE4">


:

align="center">class="STYLE4">确认密码
:


align="center">

name="submit"
type="submit"
value="确定注册"
/>
type="reset"
value="重置"
/>




color="green">
<%response.write("你的IP是:")%><%=request.serverVariables("remote_host")%>





回答2:

改成如下代码即可:



欢迎访问,请输入您要注册的用户名和密码!




用 户 名:


密 码 :

确认密码 :










<%response.write("你的IP是:")%><%=request.serverVariables("remote_host")%>




回答3:

晕死 这么简单 密码的input类型是password 记住,类型叫type。tpye没有这个东西。

回答4:



你写错了

应该是type 不是 tpye