Working fiddle : fiddle
You should prevent the action to goto other page.
//HTML
<a href="#" title="Reply" class="Classhref" onclick="show_reply('<?php echo $row['id']; ?>')"> Reply</a>
//Script
$('.Classhref').click(function(event){
event.preventDefault();
}
1
solved Make my script not to refresh the page [closed]