为什么我下面这句无法显示?
Response.Write "document.getElementById('weather').innerHTML ='<table width=""100%"" border=""0""><tr><th width=27>日期</th><th width=28>天气现象</th><th width=15>气温</th><th width=15>风向</th><th width=15>风力</th></tr></table>';"
Response.Write "document.getElementById('weather').innerHTML ='<table width=""100%"" border=""0""><tr><th width=27>日期</th><th width=28>天气现象</th><th width=15>气温</th><th width=15>风向</th><th width=15>风力</th></tr></table>';"
以下代码是可以正常执行的:<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head><body>
<span id="weather"></span>
<script language="javascript">
<%
Response.Write "document.getElementById('weather').innerHTML ='<table width=\""100%\"" border=\""0\""><tr><th width=27>日期</th><th width=28>天气现象</th><th width=15>气温</th><th width=15>风向</th><th width=15>风力</th></tr></table>';"
%>
</script>
</body>
</html>
<tr>
<th width=27>日期<\/th>
<th width=28>天气现象<\/th>
<th width=15>气温<\/th>
<th width=15>风向<\/th>
<th width=15>风力<\/th>
<\/tr>
<\/table>';"