JSFiddle - React, Tailwind, and code Playground

HTML

<textarea rows='10'>hello lala</textarea>

JavaScript

$('textarea').removeAttr('rows');
alert('if you can see me, the script worked');