javascript windows浏览器为什么不弹出alert

<html>
<head>
<title>Hello</title>
<script language=“JavaScript”>
function hello()
{
alert("welcome to come! ");
}
function byebye()
{
alert("want to go? Don't come next time");
}
</script>
</head>
<body onLoad="hello()" onUnLoad="byebye()">
</body>
</html>

首先你可能第二个地方有个拼写错误,还有钱吗的language=“JavaScript”应该改成 

<script type="text/javascript">然后就问题了,我在电脑上试了没有问题.^^


温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答