JSFiddle - React, Tailwind, and code Playground

by Richard

HTML

<a>click me</a>
<table border=1>
    <tr><td>text</td></tr>
</table>

JavaScript

$('a').click(function() {
  var rows = $('<tr><td>text</td></tr>');
  rows.hide();
   $('tr:last-child').after(rows);
  rows.fadeIn("slow");
});