Capture Click Event Of Pager Of Clistview

hi, can we capture click event of papger of a clistview?

i mean, when i click ‘page 2’, then i want to capture this click event, and do something in js.

you can write a custom jquery handler for that

thanks

and this also works




$('ul.yiiPager > li').click(function() {

.....

}



but, why this does not work?




$('ul.yiiPager > li').live('click',function() {

.....

}