How to modify this code so that when I click on it, it will not take me to the top of the page?
<script>
$(document).ready(function () {
$(".cont").click(function () {
$("#feed").load('footer.php');
});
});
</script>
By adding
return falseore.preventDefault()