JSFiddle - React, Tailwind, and code Playground

HTML

<div id="box">
    <button>test</button>
    <button>test1</button>
    <button>test2</button>
    <button>test3</button>
    
</div>

JavaScript

$('#box').children().attr("disabled", "disabled");