JSFiddle - React, Tailwind, and code Playground

HTML

<body>
    <table>
        <tr>
            <td rowspan="40" id="elem">Spaned Cell</td> <td>Simple cell</td>
        </tr>
        <tr>
            <td>Another simple cell</td>
        </tr>
    </table>
</body>

JavaScript

$('#elem').removeAttr('rowspan');