JSFiddle - React, Tailwind, and code Playground
by xonev
HTML
<table>
<td valign="top" id="UserManagebutton1">
<input type="button" value="Add" class="inputbutton">
<input type="button" value="Delete" class="inputbutton">
<input type="button" value="Import" class="inputbutton">
<input type="button" value="Export" class="inputbutton">
<input type="button" value="Change Status" class="inputbutton">
<input type="button" value="Purge AD Users" class="inputbutton">
</td>
</table>
JavaScript
document.querySelector('[value="Add"]').onclick = function () { console.log('clicked'); }
document.querySelector('[value="Add"]').click()