I have a click event for an a
pagination list
Its not firing.
$(".pagination-page").click(function()
{
//event.preventDefault();
var page = $(this).val();
$('#search-results-display').load('includes/search.php?query=<? echo $_SESSION['search_term']; ?>&page=' + page);
});
PHP While loop generating the pagination (only the generation of the pagination not the rest of it. The SQL query is working, that has been tested
while ($tmpPageCnt > 0)
{
$retvar .= '<li class="active"><a href="#" class="pagination-page">'.$tmpPage.'</a></li>';
}
return $retvar;
Please could you shed some light as to why it's not