菜鸟刚入门,问题简单了,不要拍砖#^_^#
写了一个很简单的代码<html><script type="text/javascript">
function alert(){alert("hello");}
</script>
<body>
window.onload=alert;
</body></html>
网页显示效果是window.onload=alert;一段代码。
很困惑,是哪个地方出错了,望大神高手们指教!
2015-11-07 22:15
程序代码:<html><script type="text/javascript">
function alert1(){alert("hello");}
</script>
<body>
</body>
<script>
window.onload=alert1;
</script>
</html>

2015-11-07 22:19

2015-11-07 22:31

2015-11-08 10:26

2015-11-10 08:06


2015-11-10 16:24

2015-11-17 13:46