jQuery 1.4.2 Using .delegate() on a change event for a doropdown list
问题 My problem is that I am not sure how to use .delegate for the following scenario: our application has a voting system to which several rounds or steps can be added. every time a new step is added there is a list of options that defines how the round/step is to be won. <select class="listOfOptions"> <option value="U">Unanimous</option> <option value="M">Majority</option> <option value="C" class="customOption"># of votes…</option> </select> now when an option is selected the following code runs