Is it possible to set listener for all buttons on page? Like
document.getElementById('button').onclick = function() {  alert("button was clicked");  };  But for all buttons at same time?
Best way to get same result?
https://stackoverflow.com/questions/65376963/any-button-clicked-listener December 20, 2020 at 12:39PM 
没有评论:
发表评论