这句ASP代码这样写对吗?

来源:百度知道 编辑:UC知道 时间:2024/05/21 12:04:55
response.write" <td align=left><textarea name="sContent" style="display:none"><%=eContent%></textarea>
<IFRAME ID="eWebEditor1" src="editor/ewebeditor.asp?id=sContent&style=standard1" frameborder="0" scrolling="no" width="100%" height="350"></IFRAME> </td>"& vbcrlf

不对
1.<%%>不能再出<%%>
2.在ASP中用两个""表示一个"
修改如下:
response.write" <td align=left><textarea name=""sContent"" style=""display:none"">"&eContent&"</textarea>
<IFRAME ID=""eWebEditor1"" src=""editor/ewebeditor.asp?id=sContent&style=standard1"" frameborder=""0"" scrolling=""no"" width=""100%"" height=""350""></IFRAME> </td>"& vbcrlf

response.write" <td align=left><textarea name='sContent' style='display:none'>"&eContent&"</textarea>
<IFRAME ID='eWebEditor1' src='editor/ewebeditor.asp?id=sContent&style=standard1' frameborder='0' scrolling='no' width='100%' height='350'></IFRAME> </td>"& vbcrlf