注册 登录
编程论坛 ASP技术论坛

[求助]response.write" "语句未结束

ASP汽车 发布于 2007-11-12 10:49, 646 次点击

<TABLE cellPadding=1 align="center" cellSpacing=1 border=1 width="1000" height="1" bordercolor="#000000" bordercolorLight="#000000" bordercolorDark="#ffffff" >

<%
response.write"<td><input name=""val"" type=""checkbox"" value="7"> </td>"
%>

7 回复
#2
lq73506842007-11-12 10:56
response.write"<td><input name=""val"" type=""checkbox"" value="7"> </td>"
写成
response.write"<td><input name=val type=checkbox value=7> </td>"
或者写成
response.write"<td><input name='val' type='checkbox' value='7'> </td>"
试试

#3
ASP汽车2007-11-12 11:00
oK谢谢lq7350684~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~非常感谢哦
#4
xiaobai405102007-11-14 08:41

我也遇到过这类问题,老郁闷了 不过幸好咱也走过来啦,哈哈

#5
t是变量2007-11-14 08:50
正解:

<%
response.write "<td><input name=""val"" type=""checkbox"" value=""7""> </td>"
%>
#6
xiaobai405102007-11-14 09:27
以下是引用lq7350684在2007-11-12 10:56:27的发言:
response.write"<td><input name=""val"" type=""checkbox"" value="7"> </td>"
写成
response.write"<td><input name=val type=checkbox value=7> </td>"
或者写成
response.write"<td><input name='val' type='checkbox' value='7'> </td>"
试试

三楼的应该正确,五楼的有问题吧?!

#7
wslijing2007-11-14 10:34
t是变量
你不要每次都在那不懂装懂要得不
#8
疯狂的探索者2007-11-14 10:50

也可以这样response.write"<td><input name='val' type='checkbox' value='7'></td>"

1