下列选项,可以正确获取到兼容了各个浏览器的事件对象的是( )。A. document.onclick = function (event) { var e = window.event || event; }B. document.onclick = function (event) { var e = window.evt || event; }C. document.onclick = function (event) { var e = window.event || evt; }D. document.onclick = function (event) { var e = window.evt || evt; }
A. document.onclick = function (event) { var e = window.event || event; } B. document.onclick = function (event) { var e = window.evt || event; } C. document.onclick = function (event) { var e = window.event || evt; } D. document.onclick = function (event) { var e = window.evt || evt; }