Jquery: change event not triggered in IE
- by Kenneth
Hi,
I have some code updating a dropdownlist, and then I fire the "change" event manually. It works like it should in firefox, opera and so on, but not in Internet Explorer. Any idea why?
Code attached below.
$(".bringFraktvalgRadio").click(function() {
var selectedValue = $(".bringFraktvalgRadio:checked").val();
$("#<%= dropDeliveryOption.ClientID %> option[value=" + selectedValue + "]").attr("selected", true);
$("#<%= dropDeliveryOption.ClientID %>").trigger("change");
});