JSFiddle - React, Tailwind, and code Playground
by Swapnil Khamkar
HTML
<form method="POST" name="ForgotPsswd">
<table cellspacing="0" cellpadding="7" width="100%" border="0">
<tbody>
<tr>
<td width="26%" align="right">Email Address:</td>
<td width="1%" style="padding:7px 5px;">:</td>
<td width="74%"><input type="text" value="" size="33" class="border_grey" id="emailId" name="email"></td>
</tr>
</tbody>
</table>
</form>
JavaScript
document.getElementById("emailId").value= "[email protected]"; //This is not setting the value