KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
My application has dynamically added Dropdowns. The user can add as many as they need to. I was traditionally using jQuery's live() method to detect when one of these Dropdowns was change() ed: $('select[name^="income_type_"]').live('change', function() { alert($(this).val()); }); As of jQuery 1.7, I've updated this to: $('select[name^="income_type_"]').on('change', function() { alert($(this).val()); }); Looking at the Docs, that should be perfectly valid (right?) - but the event handler never fires. Of course, I've confirmed jQuery 1.7 is loaded and running, etc. There are no errors in the error log. What am I doing wrong? Thanks!
Tags (comma-separated)
Save Edits
Cancel