梦见火葬场和骨灰:response.write"document.write('')"的结果为什么

来源:百度文库 编辑:高校问答 时间:2024/05/16 23:18:25
response.write"document.write('<table')"的结果为什么总是不直接显示要的结果总是把html代码也显示出来的了
而response.write"<table>..."就直接显示结果

在语句中有双引号,弄2个就行了

response.write"document.write(""<table"")"

javascript代码必须用<script></script>框起来!
response.write"<script language='javascript'>document.write('<table>')</script>"