jQuery dropdown select event
问题 Is there a specific event for when a user selects an item in a dropdown box? I am creating a fairly large form that uses multiple dropdown boxes. On load all but the first are disabled, as the user selects the first option the options in the second box change using AJAX and I want to remove the attribute disabled. $('#site_id').on('change', function(event) { $('#access_type_id').removeAttr('disabled'); }); The trouble I am having is that .change() seems to be fired when the options in a