JSFiddle - React, Tailwind, and code Playground
by mowglisanu
HTML
<button onclick="this.setAttribute('disabled');document.getElementById('down7913').removeAttribute('disabled')" type="submit" class="positive" name="up7913" id="up7913">button1</button>
<button onclick="this.setAttribute('disabled');document.getElementById('up7913').removeAttribute('disabled')" type="submit" class="negative" name="down7913" id="down7913">button2</button>