skip to Main Content

Javascript – How to add event delegation to "change" event (not click) on radio buttons?

I often times easily implemented event delegation with the "click" event on parent elements of something with code like HTML: <div> <span> <input type="radio" id="all0" name="difficulty-ask" class="difficultyaskclass" value="all" checked="checked" /> <label for="all0">All</label> <input type="radio" id="2easy1" name="difficulty-ask" class="difficultyaskclass" value="easy" /> <label…

VIEW QUESTION
Back To Top
Search