I use the following jquery statements but i get error in this
function onGetDataSuccess(result) {
Iteratejsondata(result);
$(document).ready(function() {
$("#pager").pager({ pagenumber: 1, pagecount: 5, buttonClickCallback: PageClick });
});
PageClick = function(pageclickednumber) {
$("#pager").pager({ pagenumber: pageclickednumber, pagecount: 15, buttonClickCallback: PageClick });
$("#ResultsDiv").html("Clicked Page " + pageclickednumber);
}
}
}
Error:PageClick
is not defined....