Below code is not working in IE 9 or older versions. But it is working perfectly on Chrome. What could be wrong with this?
I am using Jquery 1.10.2.min.js
$("[id$='txtNewPass2']").on("input", function () {
if (myPlugin.metReq() == true && $("[id$='txtNewPass2']").val().length > 0) //return true or false
$("#imgSubmit").removeAttr("disabled").css('opacity', 1);
else
$("#imgSubmit").attr("disabled", "disabled").css('opacity', 0.5);
});
update:
I just saw .. My browser in Quirks mode. Does it effect anything?