JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" value="hello" disabled="disabled">

JavaScript

$('input:disabled').css('background-color', 'blue');