js ylq00未定义

来源:百度知道 编辑:UC知道 时间:2024/06/25 01:52:06
<script language="javascript">
//function setvalue(){

ylq00.innerHTML = "<font color=#ff0000><b>"+<%=Array_show(0,0)%>+"</b></font>"

//}

//setTimeout("setvalue()",2000)
</script>
</head>
<%'Title="商品房成交情况实时监测系统"%>
<body topmargin="0">
<form name="form1" id="form1">
<div align="center" class="STYLE2"><%=Title%></div>
<hr style="color:#CDCDCD;height:1px">
<table width="389" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="20" colspan="5" align="center">行政分区
<hr style="color:#CDCDCD;height:1px"></td>
</tr>
<tr>

将<script>...</script>放在<td height="20" align="center" id="ylq00"></td>之后.网页的ylq00对象还未加载当然也就不能对它做仍何操作了.

document.getElementById("ylq00").innerHTML = "<font color=#ff0000><b>"+<%=Array_show(0,0)%>+"</b></font>"