日期:2014-05-20  浏览次数:20575 次

javascript 函数调用有什么问题,请高手指点?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="content-type">
  <title>test</title>
  <script type="text/javascript">
function ChangeColor()
{
document.body.bgColor="yellow"
}
  </script>
</head>
<body>
<span id="it110"
 style="border: medium double rgb(250, 0, 255); cursor: pointer;"
 onclick="changecolor()">-</span>Lists<br>
<ol>
  <li>item1</li>
  <li>item2</li>
  <li>item3</li>
</ol>
List2
</body>
</html>

上面我写的空上代码怎么运行不成功呢?请高手指点!!谢谢!!

  <li>item1</li>www.hvacr.cndocument.body.bgColor="yellow"/span>Lists<br>http://www.hvacr.cn/bottom/link.htm
  <meta content="text/html; charset=ISO-8859-1"market.hvacr.cn <meta content="text/html; charset=ISO-8859-1"download.hvacr.cn <meta content="text/html; charset=ISO-8859-1"jishu.hvacr.cn <meta content="text/html; charset=ISO-8859-1"job.hvacr.cn <meta content="text/html; charset=ISO-8859-1"http://hp.hvacr.cn/ <li>item1</li>
  <li>item2</li>
  <li>item3</li>http://hp.hvacr.cn/

------解决方案--------------------
javascript区分大小写
------解决方案--------------------
onclick="ChangeColor()"