firefox获得event 1. document.onclick = function(e) 2. { 3. e = window.event || e; 4. var srcElement = e.srcElement || e.target; 5. alert(srcElement); 6. }