paging in gridview using jquery

Posted by Klbaiju under jQuery on 11/21/2012 | Points: 10 | Views : 2684 | Status : [Member] | Replies : 0
iam using paging in gridview using jquery.

iam using pager as numbers
on load event of gridview display records with paging as numbers
numbers inside an anchor tag.
my requirement is when i click particular number(pager),href should be removed and siblings should have href.
following is my code.
it will work properly on first time.

$('a').click(function(event) {
$('#GridView1').find(' tbody .record ').hide();
for (i = ($(this).text() - 1) * no_rec_per_page; i <= $(this).text() * no_rec_per_page - 1; i++) {

how to solve this.
this code should be modified



(No response found.)

Login to post response