[求助]输入顺序怎么是反的
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Example</title>
<script type="text/javascript">
function pageLoad()
{
var fnClick1 = function()
{
alert("First Clicked!");
}
var fnClick2 = function()
{
alert("Second Clicked!");
}
var oDiv = document.getElementById("div1");
oDiv.attachEvent("onclick",fnClick1);
oDiv.attachEvent("onclick",fnClick2);
}
</script>
</head>
<body onload="pageLoad()">
<div id="div1">Click me</div>
</body>
</html>