我的onload功能无法正常工作的IE7和8:功能的onload不工作的IE7和8
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script type="text/javascript">
function onload()
{
alert("Working properly")
}
</script>
</head>
<body>
</body>
</html>
如果我尝试用IE7或8来访问它的警报不会发生,但它在正常工作Mozilla的。
任何人都可以提出一个适用于IE和Mozilla的东西吗?
常见的方法uery – NewBie