JSFiddle - React, Tailwind, and code Playground
HTML
<div class="modal" id="modal">
<div>
<div class="text">
<h3>Обслуживание 1С</h3>
<form action="sendPrajm.php" method="post"><input name="name" placeholder="Имя" size="38px" type="text" value="" /><br />
<br />
<input name="email" placeholder="E-mail" size="38px" type="text" value="" /><br />
<br />
<input name="phone" placeholder="Телефон" size="38px" type="text" value="" />
<p>не забудьте указать в заявке название желаемого тарифного плана</p>
<textarea cols="34.5" name="body" placeholder="Дополнительная информация" rows="10" style="resize: none"></textarea><br />
<br />
<button type="submit">Отправить</button><button type="reset">Отменить</button>
<p></p>
</form>
</div>
<a href="#close" title="Закрыть">Закрыть</a></div>
</div>
<table align="center" width="95%">
<tbody>
<tr>
<td id="min"><a class="button openModal" data-set-text="текст 1">1</a></td>
<td></td>
<td id="opt"><a class="button openModal" data-set-text="текст 2">2</a></td>
<td></td>
<td id="loyal"><a class="button openModal" data-set-text="текст 3">3</a></td>
<td></td>
<td id="unlim"><a class="button openModal" data-set-text="текст 4">4</a></td>
</tr>
<tr>
</tr>
</tbody>
</table>
JavaScript
[].forEach.call(document.querySelectorAll(".button.openModal"), function($el)
{
$el.onclick = function()
{
document.querySelector("textarea").innerHTML = $el.getAttribute("data-set-text");
};
});