JSFiddle - React, Tailwind, and code Playground
HTML
<input id="Button1" type="button" value="Click Me" />
<p>
<textarea id="TextArea1" cols="20" name="S1" rows="2"></textarea>
</p>
JavaScript
$(document).ready(DocReady);
// ---- Doc Ready ------------
function DocReady()
{
$("TextArea").resizable();
$("#Button1").click(MyResize);
}
function MyResize()
{
$("textarea").each(function ()
{
$this = $(this);
$this.css('width', 200);
$this.css('height', 200);
});
}