JSFiddle - React, Tailwind, and code Playground
HTML
<div id="mgf_165" class="mg_filter mg_new_filters"
<a rel="163" id="163" class="left_menu" href="#">Bathrooms Sinks</a>
<a id="164" rel="164" class="left_menu" href="#">Bowed</a>
</div>
<div id="category">
</div>
JavaScript
jQuery(document).ready(function(){
jQuery("a.left_menu").click(function(){
var txt = jQuery(this).text();
//$(this).attr('rel');
alert("click");
jQuery("#category").text(txt);
});
});