Skip to content Skip to sidebar Skip to footer

IE 11 V11 Does Not Respect "disabled" Property On Inputs On A Single Machine

I support an asp.net web application using Jquery v3.3.1 which uses JavaScript to disable various inputs of type 'text' or 'date' using code like the following: $('#id').prop('disa

Solution 1:

IE 11 doesn't always follow the rules. If you switch it to:

$("#id").prop("disabled","disabled");

It will work in IE.

If you only want to run that code for IE 11 or lower, here is a way to do that from another good post. How to load a script only in IE


Post a Comment for "IE 11 V11 Does Not Respect "disabled" Property On Inputs On A Single Machine"