JSFiddle - React, Tailwind, and code Playground
HTML
<form>
<input name='mark' value='' type='text' id='mark' />
</form>
JavaScript
$('#mark').click(
function()
{
alert('test');
}
<form>
<input name='mark' value='' type='text' id='mark' />
</form>
$('#mark').click(
function()
{
alert('test');
}