element.addEventListener('click', function() { /* do stuff here*/ }, false); 转载于:https://www.cnblogs.com/shengulong/p/8987578.html