JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<input type="text" placeholder="1" id="1">
<input type="text" placeholder="2" id="2" disabled="disabled"><br>
<label for="">cek</label><input type="checkbox" id="check">
JavaScript
$("#check").click(function(){
$("#2").removeAttr("disabled");
});