JSFiddle - React, Tailwind, and code Playground
HTML
<input class="cross-reference-section-value" id="enr_rds_batch_update_Section" type="text" style="border: 1px solid gray; ">
<a href="https://www.google.co.uk/" >hello</a>
JavaScript
if ($('.cross-reference-section-value').keyup) {
$('#hello').bind('click', false);
} else if {
$('.my-link').unbind('click', false);
};