id summary reporter owner description type status priority milestone component version resolution keywords cc blockedby blocking 6702 live change event handler on select element does not work fastfasterfastest "A live change event handler attached to a select element does not work *if* a live click event handler has been attached to an anchor element first, see complete sample below. I.e., if the event handlers are attached in the following manner, then the change event handler on the select element does not work: $(function() { $('a').live('click', function() { alert('live click'); return false; }); $('select').live('change', function() { alert('live change'); return false; }); }); However, if one changes the order in which the event handlers are attached (first attach the change event handler to the select element, then the click handler to the anchor element), it does work. The following works: $(function() { $('select').live('change', function() { alert('live change'); return false; }); $('a').live('click', function() { alert('live click'); return false; }); }); Below follows complete sample:
Click " bug closed 1.4.3 event 1.4.2 duplicate live change select