I'm having issues with attr('disabled', 'disabled') or prop("disabled", true) in internet explorer with jQuery In firefox, and chrome, this behaves as expected. Any ideas?
I am trying to disable an item in the dropdown list in my MVC application. It doesn't work in IE.
var count = parseInt($("#numCount").val());
if ((isNaN(count) === false) && (count > 500)) {
$("#ReportType option[value='Report']").attr("disabled", "disabled");
$("#ReportType option[value='Report']").prop("disabled", true);
}