I have Implement Pagination with c# and Jquery .This is my code
I have one query It's now static number 1,2,3 .I want to how to dynamic this number for e.g only one post display 1
$('.pagination li a').click(function (e) {
e.preventDefault();
var id = $(this).text();
e.preventDefault();
$.ajax({
url: "/Utility/BlogPostId?Id=" + id,
type: "POST",
dataType: "html",
traditional: true,
contentType: "application/json; charset=utf-8",
success: function (data) {
$(".blog-layout-content").html("");
$(".blog-layout-content").html(data);
},
});
});
Salman BegPosted Jun 4, 2021, 9:35 AM
Pranam BhatPosted Jun 4, 2021, 6:44 AM