<HTML>
<BODY>
<%
mywords=Request("mywords")
mycolor=Request("mycolor")
If mycolor="RED" Then
Response.Write(<font color="#FF0000">&mywords&</font>)
Else if mycolor="GREEN" Then
Response.Write(<font color="#00FF00">&mywords&</font>)
Else
Response.Write(<font color="#00FFFF">&mywords&</font>)
End if
%>
<FORM ACTION="4-15.asp" METHOD="GET">
<INPUT TYPE="TEXT" SIZE="30" NAME="mywords" VALUE="I LIKE CHAT">
<INPUT TYPE="SUBMIT" name="submit" VALUE="提交">
字体颜色:<br>
<Input type="radio" name="mycolor" value="RED">RED
<Input type="radio" name="mycolor" value="GREEN">GREEN
<Input type="radio" name="mycolor" value="CYAN">CYAN
</FORM>
</BODY>
</HTML>
点击提交之后要让文本框的文字变成有颜色
可是现在什么都没打印出来
POPMUISE
猛跑小猪
相关分类