I've implemented the following jQuery which is simply blanking out a textfield, when a radio button is selected. On Firefox and Chrome the function is working, but on IE11, which is actually used within the working environment it is not working - the textfield is blanked out by default.
I need some help to fix this compatibility issue.
function hideMappeDigital(){
if (jQuery("#Mappe-j_idt41-0").is(':checked')) {
jQuery("#Mappe-Anzahl").attr("disabled", "disabled");
}
jQuery('#Mappe-j_idt41-0').click(function(){
jQuery("#Mappe-Anzahl").val('');
jQuery("#Mappe-Anzahl").attr("disabled", "disabled");
});
jQuery('#Mappe-j_idt41-1').click(function(){
jQuery("#Mappe-Anzahl").removeAttr("disabled");
});
}