DOM 0级事件不生效:
document.ontouchstart = function(){alert("a")}
DOM 2级事件生效:
document.addEventListener( "touchstart" , function(){
    alert("a");
} , false);  
请问如何让第一种生效?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
我想知道题主,用dom0级事件的场景?