JSFiddle - React, Tailwind, and code Playground
HTML
<textarea>Something</textarea>
JavaScript
$("textarea").click(function() {
if ($(this).text() === "Something") {
$(this).text("");
}
});
<textarea>Something</textarea>
$("textarea").click(function() {
if ($(this).text() === "Something") {
$(this).text("");
}
});