JSFiddle - React, Tailwind, and code Playground

by Joe

HTML

<input id="FullName" style="width: 299px" value="Marko"/>
<br>
<br>
<input type="button" id="anOtherButton" value="disable/enable" />

JavaScript

$("#anOtherButton").click(function() {
  $("#FullName").attr('disabled', !$("#FullName").attr('disabled'));
});