JSFiddle - React, Tailwind, and code Playground
HTML
<div style="width: 100%;margin-top: 1em;" class="fileDoesNotExist" id="T1">
<table >
<tr>
<th colspan="3">FILE 1</th>
</tr>
<tr>
<td>Media Title:</td>
<td colspan="2">
<input name="txtTitle" type="text" maxlength="255" size="50" id="txtTitle" />
</td>
</tr>
</table>
</div>
JavaScript
$('.fileDoesNotExist').each(function () {
$(this).html("<h3>FILE #" + $(this).attr('id').replace('T', '') + ":</h3><p><a href=\"/cp/media-upload.aspx?seq=" + $(this).attr('id').replace('T', '') + "\">click here to upload an MP3 or video</a></p>");
$(this).css('border', 'none');
});