各位大哥都进来看看
<%
dim a
a= "123 "
%>
<input name= "Body " id= "Body " value= <%=a%> >
<%
response.Write ( " <input name=Body id=Body value=&a&> ")
%>
<%
response.Write ( " <input name=Body id=Body value=<%=a%>> ")
%>
#####################################################################
问:
<input name= "Body " id= "Body " value= <%=a%> >
这个可以显示出123
另外两个都不行
response.Write ( " <input name=Body id=Body value=&a&> ")
这个显示的是 &a&
response.Write ( " <input name=Body id=Body value=<%=a%>> ")
这个显示的是 <%=a%>
请各位大哥帮帮忙,在线等!!!!!!!!!
谢谢!!!!!!!!!!!!!!
谢谢!!!!!!!!!!!!!!
谢谢!!!!!!!!!!!!!!
谢谢!!!!!!!!!!!!!!
谢谢!!!!!!!!!!!!!!
谢谢!!!!!!!!!!!!!!
------解决方案-------------------- <%
response.Write ( " <input name=Body id=Body value= "&a& "> ")
%>
------解决方案-------------------- <%
response.Write ( " <input name=Body id=Body value= "&a& "> ")
%>
注间是4个引号
------解决方案-------------------- <%
dim a
a= "123 "
%>
<input name= "Body " id= "Body " value= <%=a%> >
<%
response.Write ( " <input name=Body id=Body value= " & a & "> ")
%>