JSFiddle - React, Tailwind, and code Playground

by Kheema Pandey

HTML

<input type="text" class="dummy" disabled="disabled" value="red" />

CSS

input[type="text"]:disabled{color:red;}

JavaScript

if ($.browser.msie) {
    $("input[type='text'][disabled='disabled']").each(function() {
        $(this).removeAttr("disabled");
        $(this).attr("onclick", "javascript:return false;");
    });
}