I have a basic page, called 'index.php' that has some content on it. When I click on a certain link, it reloads the content of a certain div with the contents of the file called 'blog.php'.
'blog.php' contains a link that has a class attribute = 'more':
<a href="#" class="more" id="<?php echo $id; ?>">load more</a>
var ID = $(this).attr("id");
data: "lastmsg="+ ID,
$("#more"+ID).remove(); // removing old more button
$(".morebox").html('The End');// no results
However, when I click on my link and I have breakpoints in my .js file, nothing happens, it just redirects me to the top of the page.
Do you have any idea what might be wrong?