JSFiddle - React, Tailwind, and code Playground
HTML
<a href="#" title="Reply" class="Classhref" onclick="show_reply('<?php echo $row['id']; ?>')"> Reply</a>
JavaScript
$('.Classhref').click(function(event){
event.preventDefault();
}
<a href="#" title="Reply" class="Classhref" onclick="show_reply('<?php echo $row['id']; ?>')"> Reply</a>
$('.Classhref').click(function(event){
event.preventDefault();
}