來高手看一看這個事件處理器怎么運行不了呀?
<!DOCTYPE html>
<html>
<head>
<title>無標題文檔</title>
<script>
function po(){
var out="";
document.getElementById("flow").onclick=function(e){
if(!e) {var e=window.event;}
for(i in e){
out=out+i+"="+e[i]+"<br/>";}
document.getElementByld("out").innerHTML=out;
}}
window.onLoad=po;
</script>
</head>
<body>
<input id="flow" type="button" value="adwefa">
<div id="out"></div>
</body>
</html>
2016-02-15
window.onLoad=po; 這個onLoad大小寫有問題
getElementByld中getElementById()還是書寫問題