JSFiddle - React, Tailwind, and code Playground
HTML
<textarea id="text_areas_id" rows="2" cols="20">
At W3Schools you will find all the Web-building tutorials you need, from basic HTML to advanced XML, SQL, ASP, and PHP.
</textarea>
<br/>
<a href="#" id="button">delete</a>
JavaScript
$('#button').click(function(){
$("#text_areas_id").val("");
});